Query Margin Account's OCO (USER_DATA)
Retrieves a specific OCO based on provided optional parameters
- Either orderListId or origClientOrderId must be provided
Weight(IP): 10
Query parameters
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
Mandatory for isolated margin, not supported for cross margin
Order list id
Order id from client
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Margin OCO details
Example response
{
"orderListId": 27,
"contingencyType": "OCO",
"listStatusType": "EXEC_STARTED",
"listOrderStatus": "EXECUTING",
"listClientOrderId": "h2USkA5YQpaXHPIrkd96xE",
"transactionTime": 1565245656253,
"symbol": "LTCBTC"
}Changes
Changed in 1 of the 26 revisions of this API.316
- ▲
for the
queryrequest parameterorderListId, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterrecvWindow, 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
contingencyTypebecame required for the status200response-property-became-required
- ○
the response property
isIsolatedbecame required for the status200response-property-became-required
- ○
the response property
listClientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
listOrderStatusbecame required for the status200response-property-became-required
- ○
the response property
listStatusTypebecame 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
- ○
the response property
orderListIdbecame required for the status200response-property-became-required
- ○
the response property
ordersbecame required for the status200response-property-became-required
- ○
the response property
orders/items/clientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
orders/items/orderIdbecame required for the status200response-property-became-required
- ○
the response property
orders/items/symbolbecame required for the status200response-property-became-required
- ○
the response property
symbolbecame required for the status200response-property-became-required
- ○
the response property
transactionTimebecame required for the status200response-property-became-required
- ▲