Get Orders
Last updated
Last updated
GET
https://api.liquid.com/orders?funding_currency={funding_currency}&product_id={product_id}
Get all orders with optional parameters as filters.
Name | Type | Description |
---|---|---|
GET
https://api.liquid.com/orders/{order_id} OR /orders/client:{client_order_id}
Get order status by providing order ID or client order ID.
Get a single order by providing the client order ID.
GET
https://api.liquid.com/orders/{order_id}/trades
An order consist of one or multiple trades, get trades that are tied to an orders.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
status
string
Filter by live
, filled
, cancelled
.
side
string
Only for status live
, specify buy
or sell
side.
funding_currency
string
Filter by funding currency e.g. USD
.
product_id
string
Filter by a pair's ID e.g. 1
.
trading_type
string
Filter by spot
, margin
, cfd
, perpetual
.
with_details
string
Set to 1
to get a breakdown of executions.
limit
string
Set to 10
to return 10
results, default results is 20 and maximum is 100.
page
string
Use together with the limit filter, limit=10
and page=2
returns result from 11th to 20th.
client_order_id
string
Client Order ID. /orders/client:{client_order_id}
order_id
string
System generated order ID.
order_id
string
Example order ID 2367000000
.