Query Margin Account's all OCO (USER_DATA)
Changed onRetrieves all OCO for a specific margin account based on provided optional parameters
Weight(IP): 200
Request
- Base URLhttps://api.binance.com
- URLhttps://api.binance.com/sapi/v1/margin/allOrderList
- AuthAPI key in header X-MBX-APIKEY
Query parameters
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
Mandatory for isolated margin, not supported for cross margin
If supplied, neither startTime or endTime can be provided
UTC timestamp in ms
UTC timestamp in ms
Default Value: 500; Max Value: 1000
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
List of Margin OCO orders
Example response
[
{
"orderListId": 29,
"contingencyType": "OCO",
"listStatusType": "EXEC_STARTED",
"listOrderStatus": "EXECUTING",
"listClientOrderId": "amEEAXryFzFwYF1FeRpUoZ",
"transactionTime": 1565245913483,
"symbol": "LTCBTC"
}
]Changes
- breaking
for the
queryrequest parameterendTime, the format changed from no format toint64 - breaking
for the
queryrequest parameterlimit, the format changed from no format toint32 - breaking
for the
queryrequest parameterrecvWindow, the format changed from no format toint64 - breaking
for the
queryrequest parameterstartTime, the format changed from no format toint64 - breaking
for the
queryrequest parametertimestamp, the format changed from no format toint64 - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
///became required for the status - info
the response property
///became required for the status - info
the response property
///became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- breaking