wsAmendOrder
Amend an existing unfilled or partially filled order on Bybit via WebSocket. Modify quantity, price, stop-loss, take-profit, or trigger price.
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 |
|---|---|---|---|
| qty | No | Modified order quantity. Omit if unchanged. | |
| price | No | Modified order price. Omit if unchanged. | |
| symbol | Yes | Trading pair or contract name. | |
| orderId | No | System-generated order ID. Either `orderId` or `orderLinkId` is required. | |
| orderIv | No | Implied volatility (option only). Pass actual value, e.g., "0.1" for 10%. | |
| category | Yes | Product type. | |
| stopLoss | No | Modified stop-loss price. Pass "0" to cancel existing SL. | |
| tpslMode | No | TP/SL mode. `Full`=entire position (market only), `Partial`=partial position (supports limit) | |
| triggerBy | No | Trigger price type for conditional orders. | |
| takeProfit | No | Modified take-profit price. Pass "0" to cancel existing TP. | |
| orderLinkId | No | User-defined order ID. Either `orderId` or `orderLinkId` is required. | |
| slTriggerBy | No | Stop-loss trigger price type. Required if modifying SL without prior setting. | |
| tpTriggerBy | No | Take-profit trigger price type. Required if modifying TP without prior setting. | |
| slLimitPrice | No | Limit price after stop-loss triggers (Partial mode only). | |
| tpLimitPrice | No | Limit price after take-profit triggers (Partial mode only). | |
| triggerPrice | No | Modified trigger price for conditional orders. |