Skip to main content

Get Dual Investment positions(USER_DATA)

API Description#

Get Dual Investment positions (batch)

HTTP Request#

GET /sapi/v1/dci/product/positions

Request Weight#

1(IP)

Request Parameters#

NameTypeMandatoryDescription
statusENUMNOPENDING:Products are purchasing, will give results later;PURCHASE_SUCCESS:purchase successfully;SETTLED: Products are finish settling;PURCHASE_FAIL:fail to purchase;REFUNDING:refund ongoing;REFUND_SUCCESS:refund to spot account successfully; SETTLING:Products are settling. If don't fill this field, will response all the position status.
pageSizeLONGNODefault: 10, Max:100
pageIndexINTNODefault:1
recvWindowLONGNOThe value cannot be greater than 60000
timestampLONGYES

Response Example#

{    "total": 1,    "list": [        {            "id": "10160533", //positionId            "investCoin": "USDT",            "exercisedCoin": "BNB",            "subscriptionAmount": "0.5",            "strikePrice": "330",            "duration": 4,            "settleDate": 1708416000000,            "purchaseStatus": "PURCHASE_SUCCESS",            "apr": "0.0365",            "orderId": 7973677530,            "purchaseEndTime": 1708329600000, //PENDING, PURCHASE_SUCCESS, SETTLED, PURCHASE_FAIL, REFUNDING, REFUND_SUCCESS, SETTLING            "optionType": "PUT",            "autoCompoundPlan": "STANDARD" //NULL, STANDARD, ADVANCED        }    ]}