Cancel Orders
Cancel an Open Order
PUT
https://api.liquid.com/orders/{order_id}/cancel OR /orders/client:{client_order_id}/cancel
Cancel an open order with order ID or client order ID.
Path Parameters
Name | Type | Description |
---|---|---|
client_order_id | string | Client order ID. /orders/client:{client_order_id}/cancel |
order_id | string | Example of order ID: |
Cancellation requests for non-live orders will be responded with 404.
Cancel All Open Orders
PUT
https://api.liquid.com/orders/cancel_all
Cancel all open orders in bulk. Below are optional body parameters, not specifying any body parameters will result in cancelling all open orders regardless of Product ID, Trading Type, or Side. This endpoint does not cancel conditional orders (take profit & stop loss on positions).
Request Body
Name | Type | Description |
---|---|---|
product_id | string | Specify |
trading_type | string | Specify |
side | string | Specify |
Last updated