cancel_order
Cancel a pending trading order by providing its order ID and market index. Retrieve order details with get_orders to identify the correct identifiers.
Instructions
Cancel a pending trading order. Requires PRIVATE_KEY in .env.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order ID to cancel. Use get_orders to find order IDs. | |
| marketIndex | Yes | The market index the order belongs to. Use get_orders to find the marketIndex for each order. |