Cancel all limit orders
cancel_all_ordersCancel every pending limit order for a paper-trading account and release reserved cash; filled orders and open positions stay unchanged.
Instructions
Cancel every pending limit order of an account and release the reserved cash.
Local change only; filled orders and open positions are untouched. Returns the count and the cancelled orders. Use cancel_order to cancel just one.
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 |
|---|---|---|---|
| account | No | Paper account name; any name without '/', '\', '..' or surrounding spaces. Each name is a separate local account. Default 'default'. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |