Cancel Order
cancel_orderCancel an open order by providing its order ID. Returns a plain text confirmation on success or an error if the order is already filled or cancelled.
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) |