cancelAllOrders
Cancel all open orders for a category (spot, linear, inverse, option) with optional filters. Clear orders by symbol, baseCoin, or order type in one action.
Instructions
Cancel all open orders matching the specified criteria.
For linear/inverse: must provide at least
symbol,baseCoin, orsettleCoinFor options: cancel all option orders without any additional filter
For spot: defaults to cancelling all regular orders
Use
orderFilterto target specific order types (normal, TP/SL, stop, OCO)Response is acknowledgment only; confirm via WebSocket order stream
Agent hint: Use this endpoint to cancel all open orders for a category/symbol at once. For cancelling a single order, use cancelOrder instead. TradFi: use category=spot to cancel all xStock orders, category=linear for equity/commodity perpetuals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | ||
| baseCoin | No | ||
| category | Yes | ||
| settleCoin | No | ||
| orderFilter | No | ||
| stopOrderType | No |