This endpoint returns allows historical executions made on an account.
Note:
- This endpoint uses the ‘history’ path instead of ‘derivatives’ and uses the v2 versioning
- The maximum amount of records per response is 1000
Authentication is required.
Endpoint |
Request Type |
Permissible API Keys |
/api/history/v2/executions |
GET |
Read-write, Master |
Arguments |
||||||||||||||||||||
|
Sample Call |
https://www.cryptofacilities.com/api/history/v2/executions?since=1606449104000&before=1604937700000&sort=desc Sample Return if Successful { 'positionSize': '1000',
|
Field |
Type |
Description |
accountUid |
string |
UID for the futures account |
len |
positive integer |
Character length of response |
serverTime |
ISO 8601 datetime |
Server time upon request |
elements |
structure |
|
uid |
string |
The UID associated with the event |
timestamp |
positive integer |
Unix timestamp in milliseconds |
event |
structure |
|
execution |
structure |
|
execution |
structure |
Structure containing order and execution data |
uid |
string |
The UID associated with the execution. |
order |
structure |
Structure of order details |
accountUid |
string |
UID for the futures account |
tradeable |
string |
The symbol of the Futures |
direction |
string |
The side associated with the order - buy or sell |
quantity |
positive float |
The quantity (size) associated with the order |
filled |
positive float |
The amount of the order that has been filled prior to the execution |
timestamp |
positive integer |
Unix timestamp in milliseconds |
limitPrice |
positive float |
The limit price associated with a limit order |
orderType |
string |
The order type, one of:
|
clientId |
string |
The client order id or nothing returned if order does not have one |
reduceOnly |
boolean |
Is the order a reduce only order or not |
lastUpdateTimestamp |
positive integer |
Unix timestamp in milliseconds |
spotData |
string |
Always None |
timestamp |
Unix timestamp in milliseconds |
|
quantity |
positive float |
The quantity (size) associated with the execution |
price |
positive float |
Price at which the execution was filled |
markPrice |
positive float |
Mark price at the time of execution |
limitFilled |
Boolean |
If the limit order was filled completely or not |
executionType |
string |
Type of execution: maker or taker |
usdValue |
positive float |
USD value of the execution |
orderData |
structure |
|
positionSize |
float |
Size of the position after the execution |
fee |
positive float |
Fee associated with the execution |
takerReducedQuantity |
positive integer |
The amount of quantity that was removed from the order before execution or no value returned if the order is not reduce only. |