Get public execution events
GET/market/:tradeable/executions
Lists trades 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 [
- ]
elements object[]required
event objectrequired
execution objectrequired
execution objectrequired
makerOrder objectrequired
Possible values: [Buy
, Sell
]
takerOrder objectrequired
Possible values: [Buy
, Sell
]
oldTakerOrder objectrequired
Possible values: [Buy
, Sell
]
sometimes empty string
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": {
"execution": {
"execution": {
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"makerOrder": {
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tradeable": "string",
"direction": "Buy",
"quantity": "1234.56789",
"timestamp": 1604937694000,
"limitPrice": "1234.56789",
"orderType": "string",
"reduceOnly": true,
"lastUpdateTimestamp": 1604937694000
},
"takerOrder": {
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tradeable": "string",
"direction": "Buy",
"quantity": "1234.56789",
"timestamp": 1604937694000,
"limitPrice": "1234.56789",
"orderType": "string",
"reduceOnly": true,
"lastUpdateTimestamp": 1604937694000
},
"timestamp": 1604937694000,
"quantity": "1234.56789",
"price": "1234.56789",
"markPrice": "1234.56789",
"limitFilled": true,
"oldTakerOrder": {
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tradeable": "string",
"direction": "Buy",
"quantity": "1234.56789",
"timestamp": 1604937694000,
"limitPrice": "1234.56789",
"orderType": "string",
"reduceOnly": true,
"lastUpdateTimestamp": 1604937694000
},
"usdValue": "1234.56789"
},
"takerReducedQuantity": "string"
}
}
}
],
"continuationToken": "string"
}