申购双币产品(USER_DATA)
接口描述
申购双币产品
HTTP请求
POST /sapi/v1/dci/product/subscribe
请求权重
1(IP)
请求参数
名称 | 类型 | 是否必需 | 描述 |
---|---|---|---|
id | STRING | YES | 从 /sapi/v1/dci/product/list 获得id |
orderId | STRING | YES | 从 /sapi/v1/dci/product/list 获得orderId |
depositAmount | DECIMAL | YES | 申购金额 |
autoCompoundPlan | ENUM | YES | 输入参数:NONE , STANDARD , ADVANCED , NONE=关闭自动复投计划,STANDARD= 基础计划,ADVANCED= 进阶计划 |
recvWindow | LONG | NO | 该值不能大于 60000 |
timestamp | LONG | YES |
失败消息:
- Products are not available. 代表APR变小或者订单不可用。
- Failed. 代表系统或者网络错误。
响应示例
{
"positionId": 10208824,
"investCoin": "BNB",
"exercisedCoin": "USDT",
"subscriptionAmount": "0.002",
"duration": 4,
"autoCompoundPlan": "STANDARD", //基础计划, 进阶计划;autoCompoundPlan为None时此字段不显示
"strikePrice": "380",
"settleDate": 1709020800000,
"purchaseStatus": "PURCHASE_SUCCESS",
"apr": "0.7397",
"orderId": 8259117597,
"purchaseTime": 1708677583874,
"optionType": "CALL"
}