cancel_all_orders
Cancel all open orders for a specified subaccount, with an option to include trigger (stop/TP) orders in the cancellation.
Instructions
Cancel ALL open orders for a subaccount. Use with caution.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cancel_all_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subaccount_id | No | ||
| cancel_trigger_orders | No | Also cancel trigger (stop/TP) orders |