Get public order events
GET/market/:tradeable/orders
Lists order events for a market.
Request
Path Parameters
Query Parameters
asc
= chronologicaldesc
= reverse-chronological
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.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- MOD1
- MOD2
- MOD3
- ]
elements object[]required
event object required
OrderPlaced objectrequired
order objectrequired
Possible values: [Buy
, Sell
]
always empty string
OrderUpdated objectrequired
oldOrder objectrequired
Possible values: [Buy
, Sell
]
newOrder objectrequired
Possible values: [Buy
, Sell
]
OrderCancelled objectrequired
order objectrequired
Possible values: [Buy
, Sell
]
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.
{
"len": 0,
"elements": [
{
"uid": "string",
"timestamp": 1604937694000,
"event": {}
}
],
"continuationToken": "string"
}