cancelOrder
Cancel a single open order by its order ID or custom link ID. Specify category and symbol to target spot, linear, inverse, or option orders.
Instructions
Cancel a single open order by orderId or orderLinkId.
Either
orderIdororderLinkIdmust be providedSystem prioritises
orderIdwhen both are provided but conflictFor spot orders,
orderFiltercan target specific order typesResponse is acknowledgment only; confirm via WebSocket order stream
Agent hint: Use this endpoint to cancel a single open order by its orderId or orderLinkId. TradFi: use category=spot for xStock tokens, category=linear for equity/commodity perpetuals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | Yes | ||
| orderId | No | ||
| orderLinkId | No | ||
| orderFilter | No | Order |