v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Dual Investment

Subscribe Dual Investment products(USER_DATA)

Subscribe Dual Investment products

  • Products are not available. means that the APR changes to lower value, or the orders are not available.
  • Failed is a system or network errors.

Weight(IP): 1

post/sapi/v1/dci/product/subscribe

Query parameters

idstring required

get id from /sapi/v1/dci/product/list

orderIdstring required

get orderId from /sapi/v1/dci/product/list

depositAmountnumber double required
autoCompoundPlan'NONE' | 'STANDARD' | 'ADVANCE' required

NONE: switch off the plan, STANDARD: standard plan, ADVANCED: advanced plan;

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Dual Investment product subscription response

positionIdinteger required
investCoinstring required
exercisedCoinstring required
subscriptionAmountstring required
durationinteger required
autoCompoundPlanstring required

STANDARD, ADVANCED, this field won't display when autocompound is set to None

strikePricestring required
settleDateinteger required
purchaseStatusstring required
aprstring required
orderIdinteger required
purchaseTimeinteger required
optionType"string

Example response

{
  "positionId": 10208824,
  "investCoin": "BNB",
  "exercisedCoin": "USDT",
  "subscriptionAmount": "0.002",
  "duration": 4,
  "autoCompoundPlan": "STANDARD",
  "strikePrice": "380",
  "settleDate": 1709020800000,
  "purchaseStatus": "PURCHASE_SUCCESS",
  "apr": "0.7397",
  "orderId": 8259117597,
  "purchaseTime": 1708677583874,
  "optionType\"": "CALL"
}