Get account log
GET/account-log
Lists account log entries, paged by timestamp or by ID.
To request entries by time range, use the since
and before
parameters.
To request entries by ID range, use the from
and to
parameters.
Any combination of since
, before
, from
and to
can be used to restrict the requested range of entries.
Request
Query Parameters
Unix timestamp in milliseconds.
Unix timestamp in milliseconds.
ID of the first entry (inclusive). IDs start at 1.
ID of the last entry (inclusive).
Possible values: [asc
, desc
]
Default value: desc
Order of events in response. asc
= chronological, desc
= reverse-chronological.
Possible values: [futures trade
, futures liquidation
, assignor
, assignee
, unwind counterparty
, unwind bankrupt
, covered liquidation
, funding rate change
, conversion
, interest payment
, transfer
, cross-exchange transfer
]
Type of entry to filter by. Only this type will be returned.
Default value: 500
Amount of entries to be returned.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
UID of the account
logs object[]required
Asset related with the entry.
UID of the log entry.
Currency of the associated entry.
RFC 3339 formatted date-time
UID of the associated execution.
Fee paid
Absolute funding rate at time of entry.
Possible values: >= 1
Log entry ID.
Possible values: [futures trade
, liquidation
, assignor
, assignee
, unwind counterparty
, unwind bankrupt
, covered liquidation
, funding rate change
, conversion
, interest payment
, transfer
, cross-exchange transfer
]
Short description of the entry.
Name of the wallet associated with the entry.
Mark price at the time the trade was executed.
Average entry price of the position after this trade.
New balance of wallet or new size of the position after the described in info action.
Average entry price of the position prior to this trade.
Account balance before the described in info action.
Funding realized due to change in position size or end of funding rate period.
PnL that is realized by reducing the position.
Price at which the trade was executed.
Percentage conversion spread used in a currency conversion.
Liquidation fee associated with a liquidation/assignment entry.
Not applicable for inverse futures.
{
"accountUid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"logs": [
{
"asset": "string",
"booking_uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"date": "2019-08-24T14:15:22Z",
"id": 0,
"info": "futures trade",
"margin_account": "string",
"new_balance": 0,
"old_balance": 0
}
]
}