Cancel all orders
cancel_all_ordersCancel all working orders in an account, with optional filter by underlying symbol. Use in emergencies to quickly clear pending orders.
Instructions
Emergency: cancel ALL working orders for an account, optionally limited to one underlying symbol. Fetches live orders and cancels every cancellable one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_number | Yes | The account number | |
| underlying_symbol | No | Only cancel orders on this underlying |