amendSpreadOrder
Adjust the price or quantity of an existing spread trading order without canceling. Only unfilled or partially filled orders can be amended.
Instructions
Amend (modify) the price and/or quantity of an existing spread trading order.
Usage Scenarios:
Adjust the price of an open limit order without cancelling and re-creating it.
Modify the quantity of an unfilled or partially filled order.
Use either
orderIdororderLinkIdto identify the target order.
Important:
Either
orderIdororderLinkIdis required to identify the order.At least one of
qtyorpricemust be provided.Only unfilled or partially filled orders can be amended.
Setting
price=""(empty string) keeps the existing price unchanged.Setting
price="0"updates the price to zero.The response is asynchronous; monitor the WebSocket for final status.
Agent hint: POST endpoint requiring authentication. Either orderId or orderLinkId is required to identify the order. At least one of qty or price must be provided. Only unfilled or partially filled orders can be amended. price="" keeps existing price; price="0" sets price to zero. Response is asynchronous.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| orderId | No | ||
| orderLinkId | No | ||
| qty | No | ||
| price | No |