Skip to main content

Account Log

CHANNEL

wss://futures.kraken.com/ws/v1

account_log

This subscription feed publishes account information.

Request

MESSAGE BODY

event string required
subscribe or unsubscribe
feed string required
The requested subscription feed account_log
api_key string required
The user api key
original_challenge string required
The message that is received from a challenge request
signed_challenge string required
The signed challenge message with user api secret

Response Success

MESSAGE BODY

event string
The result, subscribed or subscribed_failed or unsubscribed or unsubscribed_failed
feed string
The requested subscription feed account_log
api_key string
The user api key
original_challenge string
The message that is received from a challenge request
signed_challenge string
The signed challenge message with user api secret

Response Snapshot & Delta

MESSAGE BODY

feed string
The subscribed feed
log list of structures
A list containing the account logs
id positive integer
The identifier of the log.
date ISO8601 datetime
The creation time of the log according to server date and time
asset string
The asset related of the booking
info string
A description of the booking.
booking_uid string
The unique id of the booking.
margin_account string
The name of the account associated with the entryold_balance.
old_balance float
The account balance before the described in info action.
new_balance float
The new balance of wallet or new size of the position after the described action in info.
old_average_entry_price positive float
The average entry price of the position prior to this trade.
new_average_entry_price positive float
The average entry price of the position after this trade.
trade_price positive float
The price the trade was executed at.
mark_price positive float
The mark price at the time the trade was executed.
realized_pnl float
The pnl that is realized by reducing the position.
fee float
The fee paid.
execution string
The uid of the associated execution.
collateral string
The currency of the associated entry.
funding_rate float
The absolute funding rate.
realized_funding float
The funding rate realized due to change in position size or end of funding rate period.
conversion_spread_percentage float
The percentage conversion spread used in a currency conversion.
liquidation_fee float
The liquidation fee associated with a liquidation/assignment entry. Not applicable for inverse futures.

Response Error

MESSAGE BODY

event string
Always error
message string
An error message out of:
Invalid feed
Json Error