Get execution events
GET/executions
Lists executions/trades for authenticated account.
Request
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.
If present events of other tradeables are filtered out.
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
]
Possible values: [Limit
, IoC
, Post
, Market
, Liquidation
, Assignment
, Unwind
]
takerOrder objectrequired
Possible values: [Buy
, Sell
]
Possible values: [Limit
, IoC
, Post
, Market
, Liquidation
, Assignment
, Unwind
]
oldTakerOrder objectrequired
Possible values: [Buy
, Sell
]
Possible values: [Limit
, IoC
, Post
, Market
, Liquidation
, Assignment
, Unwind
]
makerOrderData objectnullablerequired
takerOrderData objectnullablerequired
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.
{
"accountUid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"len": 0,
"serverTime": "2024-07-29T15:51:28.071Z",
"elements": [
{
"uid": "string",
"timestamp": 1604937694000,
"event": {
"execution": {
"execution": {
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"makerOrder": {
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"accountUid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tradeable": "string",
"direction": "Buy",
"quantity": "1234.56789",
"filled": "1234.56789",
"timestamp": 1604937694000,
"limitPrice": "1234.56789",
"orderType": "Limit",
"clientId": "string",
"reduceOnly": true,
"lastUpdateTimestamp": 1604937694000
},
"takerOrder": {
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"accountUid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tradeable": "string",
"direction": "Buy",
"quantity": "1234.56789",
"filled": "1234.56789",
"timestamp": 1604937694000,
"limitPrice": "1234.56789",
"orderType": "Limit",
"clientId": "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",
"accountUid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tradeable": "string",
"direction": "Buy",
"quantity": "1234.56789",
"filled": "1234.56789",
"timestamp": 1604937694000,
"limitPrice": "1234.56789",
"orderType": "Limit",
"clientId": "string",
"reduceOnly": true,
"lastUpdateTimestamp": 1604937694000
},
"usdValue": "1234.56789",
"makerOrderData": {
"fee": "1234.56789",
"positionSize": "1234.56789"
},
"takerOrderData": {
"fee": "1234.56789",
"positionSize": "1234.56789"
}
},
"takerReducedQuantity": "string"
}
}
}
],
"continuationToken": "string"
}