Query Margin Account's all OCO (USER_DATA)
Retrieves all OCO for a specific margin account based on provided optional parameters
Weight(IP): 200
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
Changed in 1 of the 26 revisions of this API.516
- ▲
for the
queryrequest parameterendTime, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterlimit, the type/format was changed frominteger/tointeger/int32request-parameter-type-changed
- ▲
for the
queryrequest parameterrecvWindow, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterstartTime, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parametertimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ○
the response property
codebecame required for the status400response-property-became-required
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
items/contingencyTypebecame required for the status200response-property-became-required
- ○
the response property
items/isIsolatedbecame required for the status200response-property-became-required
- ○
the response property
items/listClientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
items/listOrderStatusbecame required for the status200response-property-became-required
- ○
the response property
items/listStatusTypebecame required for the status200response-property-became-required
- ○
the response property
items/orderListIdbecame required for the status200response-property-became-required
- ○
the response property
items/ordersbecame required for the status200response-property-became-required
- ○
the response property
items/orders/items/clientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
items/orders/items/orderIdbecame required for the status200response-property-became-required
- ○
the response property
items/orders/items/symbolbecame required for the status200response-property-became-required
- ○
the response property
items/symbolbecame required for the status200response-property-became-required
- ○
the response property
items/transactionTimebecame required for the status200response-property-became-required
- ○
the response property
msgbecame required for the status400response-property-became-required
- ○
the response property
msgbecame required for the status401response-property-became-required
- ▲