put
https://api.liquiditytech.com/api/v1/trading/order
Rate Limit: 300 requests per 60 seconds
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Rate Limit: 300 requests per 60 seconds
Modify the price or quantity of an existing open order. At least one of replacePrice or replaceQty must be provided.
Note: For spot orders and certain perpetual order conditions, this operation is implemented as a cancel-and-replace. In those cases, the original order is cancelled and a new order is submitted atomically. The returned
orderIdis the identifier of the amended order.
Request
| Field name | Type | Necessary | Remarks |
|---|---|---|---|
orderId | String | Y | Order ID |
replaceQty | String | N | Replace order qty |
replacePrice | String | N | Replace order price |
Response
| Field name | Type | Remarks |
|---|---|---|
orderId | String | Order ID of the amended order. |
orderState | String | Current state of the order after the amendment. |
Example Request
{
"orderId": "2106591138643265",
"replacePrice": "3050",
"replaceQty": "0.5"
}
Example Response
{
"code": 200000,
"message": "Success",
"data": {
"orderId": "1722413861764000",
"orderState": "OPEN"
}
}
