API Reference

Cancel Multiple Orders by Order Id

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

📘

Frequency Limit Type: Weight: 1

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
codeSTRING00 is executed
resultObject ArrayReturn the result
result.orderIdINTEGER16880363408511681Order ID
result.codeSTRING-2013Return error code for each order (For unsuccessful order)
Query Params
string
required
Defaults to 1673535901639164672

order id e.g. 1450885420514687744

int64

recv Window

int64
required
Defaults to 1714237654479

Millisecond timestamp

string
required
Defaults to 221900770ee77d1ae78ba397841281e2423c8c66fa9c82d05a08f9c246f37414

Signature

Responses

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