Binance Connector JS
    Preparing search index...

    Request parameters for investmentPlanCreation operation in TradeApi. InvestmentPlanCreationRequest

    interface InvestmentPlanCreationRequest {
        details: InvestmentPlanAdjustmentDetailsParameterInner[];
        flexibleAllowedToUse?: boolean;
        indexId?: number;
        planType: string;
        recvWindow?: number;
        requestId?: string;
        sourceAsset: string;
        sourceType: string;
        subscriptionAmount: number;
        subscriptionCycle: string;
        subscriptionStartTime: number;
    }
    Index

    Properties

    sum(all node's percentage) == 100,sum(all node's percentage) == 100, When input request parameter, each entry should be like details[0].targetAsset=BTC, Example of the request parameter array:

    TradeApiInvestmentPlanCreation

    flexibleAllowedToUse?: boolean

    true/false;true: using flexible wallet

    TradeApiInvestmentPlanCreation

    indexId?: number

    now only can set = 1

    TradeApiInvestmentPlanCreation

    planType: string

    “SINGLE”,”PORTFOLIO”,”INDEX”

    TradeApiInvestmentPlanCreation

    recvWindow?: number

    no more than 60000

    TradeApiInvestmentPlanCreation

    requestId?: string

    sourceType + unique, transactionId and requestId cannot be empty at the same time

    TradeApiInvestmentPlanCreation

    sourceAsset: string

    e.g “USDT”

    TradeApiInvestmentPlanCreation

    sourceType: string

    "MAIN_SITE" for Binance,“TR” for Binance Turkey

    TradeApiInvestmentPlanCreation

    subscriptionAmount: number

    TradeApiInvestmentPlanCreation

    subscriptionCycle: string

    "H1", "H4", "H8","H12", "WEEKLY","DAILY","MONTHLY","BI_WEEKLY"

    TradeApiInvestmentPlanCreation

    subscriptionStartTime: number

    “0,1,2,3,4,5,6,7,8,..23”;Must be sent in form of UTC+0

    TradeApiInvestmentPlanCreation