Edit Orders
Edit Open Orders
PUT
https://api.liquid.com/orders/{order_id} OR /orders/client:{client_order_id}
Edit the price
and/or quantity
of an open order.
Path Parameters
Name | Type | Description |
---|---|---|
client_order_id | string | Client order ID. Eg. /orders/client:reqcn1 |
order_id | string | System generated order ID. |
Request Body
Name | Type | Description |
---|---|---|
price | string | Example: |
quantity | string | Example: |
Update order requests for non-live orders will be responded with 404.
Update Take Profit and/or Stop Loss
PUT
https://api.liquid.com/orders/{order_id}/update_tpsl OR /orders/client:{client_order_id}/update_tpsl
Update the take_profit
and/or stop_loss
of an open order.
Path Parameters
Name | Type | Description |
---|---|---|
client_order_id | string | Client order ID. /orders/client:{client_order_id}/update_tpsl |
order_id | string | System generated order ID. |
Request Body
Name | Type | Description |
---|---|---|
take_profit | string | Example: |
stop_loss | string | Example: |
Last updated