wsAmendOrder
Modify an existing unfilled or partially filled order on Bybit via WebSocket, updating parameters such as price, quantity, or trigger conditions.
Instructions
Amend (modify) 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. | |
| orderIv | No | Implied volatility (option only). Pass actual value, e.g., "0.1" for 10%. | |
| triggerPrice | No | Modified trigger price for conditional orders. | |
| qty | No | Modified order quantity. Omit if unchanged. | |
| price | No | Modified order price. Omit if unchanged. | |
| tpslMode | No | TP/SL mode. `Full`=entire position (market only), `Partial`=partial position (supports limit) | |
| takeProfit | No | Modified take-profit price. Pass "0" to cancel existing TP. | |
| stopLoss | No | Modified stop-loss price. Pass "0" to cancel existing SL. | |
| tpTriggerBy | No | Take-profit trigger price type. Required if modifying TP without prior setting. | |
| slTriggerBy | No | Stop-loss trigger price type. Required if modifying SL without prior setting. | |
| triggerBy | No | Trigger price type for conditional orders. | |
| tpLimitPrice | No | Limit price after take-profit triggers (Partial mode only). | |
| slLimitPrice | No | Limit price after stop-loss triggers (Partial mode only). |