GET
/
v1
/
orders

Headers

orderly-timestamp
string
required
orderly-account-id
string
required
orderly-key
string
required
orderly-signature
string
required

Query Parameters

symbol
string
side
string

BUY/SELL

order_type
string

LIMIT/MARKET

status
string

NEW/CANCELLED/PARTIAL_FILLED/FILLED/REJECTED/INCOMPLETE/COMPLETED

order_tag
string
start_t
number

start time range that wish to query, noted the time stamp is 13-digits timestamp.

end_t
number

end time range that wish to query, noted the time stamp is 13-digits timestamp.

page
number

the page you wish to query.

size
number

the page size you wish to query (max: 500)

sort_by
string

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;

Response

200 - application/json
success
boolean
required
data
object
required
timestamp
integer