Get order events
GET/orders
Lists order events for authenticated account.
Request
Query Parameters
asc
= chronologicaldesc
= reverse-chronologicaltrue
= return orders that have been placed within given time range.false
= don't return orders that have been placed within given time range.true
= return orders that have been closed/cancelled/rejected within given time range.false
= don't return orders that have been closed/cancelled/rejected within given time range.
Timestamp in milliseconds.
Timestamp in milliseconds.
Possible values: [asc
, desc
]
Default value: desc
Determines the order of events in response(s).
Opaque token from the Next-Continuation-Token
header used to continue listing events. The
sort
parameter must be the same as in the previous request to continue listing in the same
direction.
Possible values: >= 1
The maximum number of results to return. The upper bound is determined by a global limit.
If present events of other tradeables are filtered out.
Determines status of the orders that should be included in response(s).
Determines status of the order that should be included in response(s).
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
- ]
elements object[]required
event object required
OrderPlaced objectrequired
order objectrequired
Possible values: [Buy
, Sell
]
Possible values: [Limit
, IoC
, Post
, Market
, Liquidation
, Assignment
, Unwind
]
always empty string
OrderUpdated objectrequired
oldOrder objectrequired
Possible values: [Buy
, Sell
]
Possible values: [Limit
, IoC
, Post
, Market
, Liquidation
, Assignment
, Unwind
]
newOrder objectrequired
Possible values: [Buy
, Sell
]
Possible values: [Limit
, IoC
, Post
, Market
, Liquidation
, Assignment
, Unwind
]
OrderRejected objectrequired
order objectrequired
Possible values: [Buy
, Sell
]
Possible values: [Limit
, IoC
, Post
, Market
, Liquidation
, Assignment
, Unwind
]
OrderCancelled objectrequired
order objectrequired
Possible values: [Buy
, Sell
]
Possible values: [Limit
, IoC
, Post
, Market
, Liquidation
, Assignment
, Unwind
]
OrderNotFound objectrequired
OrderEditRejected objectrequired
oldOrder objectrequired
Possible values: [Buy
, Sell
]
Possible values: [Limit
, IoC
, Post
, Market
, Liquidation
, Assignment
, Unwind
]
attemptedOrder objectrequired
Possible values: [Buy
, Sell
]
Possible values: [Limit
, IoC
, Post
, Market
, Liquidation
, Assignment
, Unwind
]
Opaque token to pass to the next request to continue listing events. The sort
parameter
must be the same as in the previous request to continue listing in the same direction.
{
"accountUid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"len": 0,
"serverTime": "2024-07-29T15:51:28.071Z",
"elements": [
{
"uid": "string",
"timestamp": 1604937694000,
"event": {}
}
],
"continuationToken": "string"
}