cancelAllSpreadOrders
Cancel all open spread orders across all symbols or for a specific symbol. Use for quick order cleanup or emergency risk management.
Instructions
Cancel all open spread trading orders, optionally filtered by symbol.
Usage Scenarios:
Cancel all open spread orders across all symbols by setting
cancelAlltotrue.Cancel all open orders for a specific spread symbol by providing
symbol.Emergency risk management: quickly flatten all open spread orders.
Important:
When
symbolis provided,cancelAllis disregarded and only orders matching the symbol are cancelled.When
symbolis omitted andcancelAllistrue, all open orders across all symbols are cancelled.The response is asynchronous; monitor the WebSocket for final status confirmation.
Agent hint: POST endpoint requiring authentication. When symbol is provided, cancelAll is ignored. When symbol is omitted and cancelAll=true, all orders are cancelled. Response is asynchronous -- use WebSocket to confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | ||
| cancelAll | No |