amendOrder
Modify price, quantity, or take-profit/stop-loss of an open unfilled order. Identify the order by order ID or link ID.
Instructions
Modify an existing open order. You can update price, quantity, trigger price, take-profit, and stop-loss parameters.
Either
orderIdororderLinkIdmust be provided to identify the target orderOnly unfilled or partially filled orders can be amended
For options,
orderIvcan be amended (pass actual value, e.g., 0.1 for 10%)Response is acknowledgment only; confirm via WebSocket order stream
Agent hint: Use this endpoint to modify price, quantity, or TP/SL of an existing open order. TradFi: use category=spot for xStock tokens, category=linear for equity/commodity perpetuals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | ||
| price | No | ||
| symbol | Yes | ||
| orderId | No | ||
| orderIv | No | ||
| category | Yes | ||
| stopLoss | No | ||
| tpslMode | No | ||
| triggerBy | No | ||
| takeProfit | No | ||
| orderLinkId | No | ||
| slTriggerBy | No | ||
| tpTriggerBy | No | ||
| slLimitPrice | No | ||
| tpLimitPrice | No | ||
| triggerPrice | No |