cancelAllOrders
Cancel all open orders for spot, linear, inverse, or options. Specify symbol or order filter to target specific types. Clears positions in bulk.
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 |
|---|---|---|---|
| category | Yes | ||
| symbol | No | ||
| baseCoin | No | ||
| settleCoin | No | ||
| orderFilter | No | ||
| stopOrderType | No |