amendOrder
Modify open orders by updating price, quantity, trigger price, take-profit, or stop-loss parameters. Identify the order with orderId or orderLinkId.
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 |
|---|---|---|---|
| category | Yes | ||
| symbol | Yes | ||
| orderId | No | ||
| orderLinkId | No | ||
| orderIv | No | ||
| triggerPrice | No | ||
| qty | No | ||
| price | No | ||
| tpslMode | No | ||
| takeProfit | No | ||
| stopLoss | No | ||
| tpTriggerBy | No | ||
| slTriggerBy | No | ||
| triggerBy | No | ||
| tpLimitPrice | No | ||
| slLimitPrice | No |