Cancel all orders in a market
cancel_all_ordersCancel every OPEN order for the subaccount in a market (handles SHORT_TERM and LONG_TERM automatically). Returns confirmation.remainingOpen — orders still OPEN after the cancel (0 = all gone); if > 0, retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | ||
| confirm | No | After canceling, verify no orders remain OPEN via the indexer (default true). |