Margin
Query Margin Account's all OCO (USER_DATA)
Retrieves all OCO for a specific margin account based on provided optional parameters
Weight(IP): 200
get/sapi/v1/margin/allOrderList
Query parameters
isIsolated'TRUE' | 'FALSE'
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
symbolstring
Mandatory for isolated margin, not supported for cross margin
fromIdstring
If supplied, neither startTime or endTime can be provided
startTimeinteger
UTC timestamp in ms
endTimeinteger
UTC timestamp in ms
limitinteger
Default Value: 500; Max Value: 1000
recvWindowinteger
Example:5000
The value cannot be greater than 60000
timestampinteger required
UTC timestamp in ms
signaturestring required
Signature
Response
List of Margin OCO orders
Example response
[
{
"orderListId": 29,
"contingencyType": "OCO",
"listStatusType": "EXEC_STARTED",
"listOrderStatus": "EXECUTING",
"listClientOrderId": "amEEAXryFzFwYF1FeRpUoZ",
"transactionTime": 1565245913483,
"symbol": "LTCBTC"
}
]