Get Orders
Limit: 10 requests per 1 second
GET /v1/orders
Get orders by customized filters.
For filter by status, one can reference special bundled statuses below for ease of access of Open (ie INCOMPLETE
) orders or COMPLETED
orders.
INCOMPLETE
=NEW
+PARTIAL_FILLED
COMPLETED
=CANCELLED
+FILLED
Headers
Query Parameters
BUY
/SELL
LIMIT
/MARKET
NEW
/CANCELLED
/PARTIAL_FILLED
/FILLED
/REJECTED
/INCOMPLETE
/COMPLETED
start time range that wish to query, noted the time stamp is 13-digits timestamp.
end time range that wish to query, noted the time stamp is 13-digits timestamp.
the page you wish to query.
the page size you wish to query (max: 500)
If empty:
Descending order by updated_time if user passed update_start_t or update_end_t; descending order by order_id if updated_time are the same;
Otherwise descending order by created_time; descending order by order_id if created_time are the same;
If not empty:
If sort_by == CREATED_TIME_DESC
, descending order by created_time. Descending order by order_id if created_time are same;
If sort_by == CREATED_TIME_ASC
, ascending order by created_time. Ascending order by order_id if created_time are same;
If sort_by == UPDATED_TIME_DESC
, descending order by updated_time. Descending order by order_id if updated_time are same;
If sort_by == UPDATED_TIME_ASC
, ascending order by updated_time. Ascending order by order_id if updated_time are same;