wsCancelOrder
Cancel an unfilled or partially filled order on Bybit V5 unified account via WebSocket. Provide symbol and order ID to request cancellation.
Instructions
Cancel an existing unfilled or partially filled order via WebSocket on Bybit V5 unified account.
IMPORTANT: This tool places/modifies real orders via WebSocket. Confirm symbol, side, quantity, and price with the user before calling. Response is an acknowledgment only; use subscribeOrder or REST endpoints to verify actual order status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Trading pair or contract name. | |
| orderId | No | System-generated order ID. Either `orderId` or `orderLinkId` is required. | |
| category | Yes | Product type. | |
| orderFilter | No | Order type filter (spot only). `Order`=normal, `tpslOrder`=TP/SL, `StopOrder`=conditional | |
| orderLinkId | No | User-defined order ID. Either `orderId` or `orderLinkId` is required. |