Skip to main content

单次申购(TRADE)

接口描述#

单次申购

HTTP请求#

POST /sapi/v1/lending/auto-invest/one-off

请求权重(IP)#

1

频次限制#

每个账户最多三秒一次

请求参数#

名称类型是否必需描述
sourceTypeSTRINGYES"MAIN_SITE",“TR” 只有Binance Turkey使用TR入参
requestIdSTRINGNOif not null, must follow businessReference + unique string, e.g: TR12354859
subscriptionAmountDECIMALYES
sourceAssetSTRINGYES“USDT”,”BUSD”
flexibleAllowedToUseBOOLEANNOtrue/false,True:使用flexible wallet,TR业务使用false
planIdLONGNOPORTFOLIO plan Id
indexIdLONGNO目前只有 1
detailsArray\<PortfolioDetail>YESsum(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:
details[0].targetAsset=BTC details[0].percentage=60 details[1].targetAsset=ETH details[1].percentage=40
recvWindowLONGNO不超过 60000
timestampLONGYES
  • planId/indexId/details不能均为空

响应示例#

{  "transactionId": 12345, //交易id  "waitSecond": 5 // 需停留5秒,查询结果}