wsCancelOrder
Cancel an existing unfilled or partially filled order on Bybit V5 unified account via WebSocket. Requires symbol, category, and either order ID or user-defined link ID.
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 |
|---|---|---|---|
| category | Yes | Product type. | |
| symbol | Yes | Trading pair or contract name. | |
| orderId | No | System-generated order ID. Either `orderId` or `orderLinkId` is required. | |
| orderLinkId | No | User-defined order ID. Either `orderId` or `orderLinkId` is required. | |
| orderFilter | No | Order type filter (spot only). `Order`=normal, `tpslOrder`=TP/SL, `StopOrder`=conditional |