Cancel many orders
cancel_ordersCancels every open order matching filters such as symbol, exchange, bot, or origin, and reports each outcome. Without filters it cancels all account orders, so use origin=manual to spare bot orders.
Instructions
Withdraws every open order matching the filter, and answers with what happened to each one. WITH NO FILTER THIS CANCELS EVERYTHING ON THE ACCOUNT, including orders the account's bots are working — pass origin=manual to spare those. Narrow it before calling it.
Requires the trade:write scope.
Rate limit: 932 requests per minute for your key, shared across every tool in the trade-write group. This is the average of what the supported venues themselves allow one account, so it is not a figure to design around — a strategy that needs more than this needs the venue directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | Only orders placed by this bot. | |
| origin | No | Only orders placed by hand, or only those placed by a strategy. | |
| symbol | No | Only orders for this symbol. | |
| exchange | No | Only orders on this venue. |