cancel_order
Cancel an open order by ID to stop or clean up pending trades. Use with account and order ID; dry-run by default for safe verification.
Instructions
Cancel one open order by id. Talks HTTP to the local ControlServer. Default dry_run=true. Useful for operator-driven cleanup or panic stop. account is required and gated the same way as place_order: paper scope may only target paper-prefixed accounts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account the order belongs to. paper-prefixed names are allowed in paper scope; live scope is required for any other. | |
| dry_run | No | ||
| order_id | Yes |