batch_cancel request enables multiple orders to be cancelled in a single request by a range of identifiers (minimum of 2 and maximum 50 in each batch).
{
"method": "batch_cancel",
"params": {
"orders": [
"1",
"2",
"ORDERX-IDXXX-XXXXX3"
],
"token": "TxxxxxxxxxOxxxxxxxxxxKxxxxxxxExxxxxxxxN"
},
"req_id": 1234567890
}
{
"method": "batch_cancel",
"req_id": 1234567890,
"result": {
"count": 3
},
"success": true,
"time_in": "2022-06-13T08:09:10.123456Z",
"time_out": "2022-06-13T08:09:10.7890123"
}
Trading
Batch Cancel
Cancel multiple orders in a single request
{
"method": "batch_cancel",
"params": {
"orders": [
"1",
"2",
"ORDERX-IDXXX-XXXXX3"
],
"token": "TxxxxxxxxxOxxxxxxxxxxKxxxxxxxExxxxxxxxN"
},
"req_id": 1234567890
}
{
"method": "batch_cancel",
"req_id": 1234567890,
"result": {
"count": 3
},
"success": true,
"time_in": "2022-06-13T08:09:10.123456Z",
"time_out": "2022-06-13T08:09:10.7890123"
}
The
Was this page helpful?