cancel_all_orders
Cancel every open order on the authenticated account, optionally limited to one market. Requires confirm: true to prevent accidental mass cancellation.
Instructions
Cancel ALL of the authenticated account's open orders, optionally scoped to one market with market_id. Destructive: you must pass confirm: true, so a stray or argless call can't mass-cancel by accident. To cancel a single order use cancel_order. Requires API credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to actually cancel (guards against typos). | |
| market_id | No | Scope the cancel to one market. Omit to cancel across all markets. |