Cancel Order Batch
POST/private/CancelOrderBatch
Cancel multiple open orders by txid
, userref
or cl_ord_id
(maximum 50 total unique IDs/references)
API Key Permissions Required: Orders and trades - Create & modify orders
or Orders and trades - Cancel & close orders
Request
- application/json
Body
required
- Array [
- string
- integer
- ]
- Array [
- ]
nonce int64required
Nonce used in construction of API-Sign
header
orders object[]
txid object
Open order transaction IDs (txid) or user references (userref), up to a maximum of 50 total unique IDs/references.
oneOf
string
integer
cl_ord_ids object[]
cl_ord_id string
An alphanumeric client order identifier which uniquely identifies an open order for each client. Up to a maximum of 50 total unique IDs/references.
Responses
- 200
Open order cancelled.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"error": [],
"result": {
"count": 2
}
}
{
"error": [],
"result": {
"count": 2
}
}
Loading...