API Reference

Cancel Multiple Orders by Order Id

Cancel orders in batches according to order IDs (Maximum of 100 orders in a single batch)

- Weight 5

- Upper Limit: 100 orders/ batch


Note: A return code of 0 from the code indicates that the cancel order request has been executed. To determine if it was successful, you need to check the results in the result field. If the result is null, it means all were successful. If it is non empty, theorderId represents the ID of the order that failed to cancel, and code represents the reason for the cancellation failure.

Request Parameters


PARAMETERTYPEReq'dExample valuesDESCRIPTION
idsSTRINGY202212231234567895,202212231234567896Order id (multiple, separated)
timestampLONGY1714311403031Timestamp

Response Content


PARAMETERTYPEExample valuesDESCRIPTION
codeSTRING00000000 is executed
resultObject ArrayReturn the result
result.orderIdLONG16880363408511681Order ID
result.codeINTEGER-2013Return error code for each order (For unsuccessful order)
Query Params
string
required
Defaults to 1616967885904766976

order id e.g. 1450885420514687744

int64

recv Window

int64
required
Defaults to 1707493605163

Millisecond timestamp

string
required
Defaults to 39e02c70f8648321031ee6e3b713bbc49da4c0ea1ff61e9388278cd726bf13de

Signature

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json