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": {
"asset_class": "derivatives",
"orders": [
"11111111-1111-4111-8111-111111111111",
"22222222-2222-4222-8222-222222222222",
"33333333-3333-4333-8333-333333333333"
],
"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.7890123Z"
}
Trading
Batch Cancel
Cancel multiple orders in a single request
{
"method": "batch_cancel",
"params": {
"asset_class": "derivatives",
"orders": [
"11111111-1111-4111-8111-111111111111",
"22222222-2222-4222-8222-222222222222",
"33333333-3333-4333-8333-333333333333"
],
"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.7890123Z"
}
The
Was this page helpful?