Cancel all open orders.
After cancelling an order, you can utilize the WebSocket streams for order history to continuously receive updated information about your orders in real-time.
Rate Limit: Allow
2 requests per second per IP & UID.
DELETE
/orders/all or /orders/{pair}
If you send a request to /orders/all API. It will cancel all your active orders of all pairs.
Rate limit:
Allow 1
requests per second per IP.
Parameters:
You can find how to create payload and signature from authentication document.
Header | Path | Query | Type | Required | Description | Default | Range | Example |
---|---|---|---|---|---|---|---|---|
X-BITOPRO-APIKEY | string | Yes | API Key | |||||
X-BITOPRO-PAYLOAD | string | Yes | Payload | |||||
X-BITOPRO-SIGNATURE | string | Yes | Signature | |||||
pair | string | No | The trading pair in format {BASE}_{QUOTE}, Please follow the link to check the pair list. | bito_eth |
Response Example:
{
"data": {
"BTC_USDT": [
"12234566", // cancelled orders
"12234567"
],
"ETH_USDT": [
"44566712",
"24552212"
]
}
}