Cancel Order
cancel_orderCancel an open order by providing its order ID. Returns confirmation on success.
Instructions
Cancel an open order by order_id. Returns plain text "order cancelled" on success; errors if the order is already filled or cancelled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID (returned by submit_order or listed in today_orders / history_orders) |