Below is an explanation of fields you'll see on the ledgers export csv file.
Includes both date & time (in UTC time zone).
"trade" = non-margin exchange of one currency for another.
"margin trade" = profits/loss for a margin trade.
"rollover" = charge for a margin trade.
"deposit" = deposit of funds to your Kraken account (including KFEE credits), including transfers from your Kraken Futures wallet or from a credit/debit card purchase (card purchases show a 'deposit' for the full amount charged to the card, then a 'spend' for the amount spent on the asset after the transaction fee is deducted, and 'receive' for the credit of the asset bought).
"withdrawal" = withdrawal of funds outside of your Kraken account, including transfers to your Kraken Futures wallet.
"adjustment" = conversion of one currency to another outside of trading (e.g. ICN-to-ETH conversion after ICN delisting).
"receive" = shown for transactions made via the Buy Crypto button or new Kraken app, this indicates the amount of the asset being credited to the account.
"invite bonus" = credit of rewards from our Kraken app referral program.
The Subtype column is for transfers from your spot account to Kraken Futures, and vice versa. Any Futures transfers will show under subtype as "spottofutures" if it is a transfer from spot to futures, or "spotfromfutures" if it is a transfer from futures to spot.
|aclass||Asset Class. Value is always "currency". Not a useful field.|
|asset||The asset of focus in the ledger entry.|
|amount||Amount debited (-) or credited (+) to that asset's balance.|
|fee||Fee paid to Kraken (if any) in the asset.|
New asset balance after debiting/crediting transaction amount and debiting fee.
balance = old_balance +/- amount - fee
Note: Each ledger entry focuses on a change to a particular asset's balance.
So if the asset is XXBT (i.e. Bitcoin), the Amount, Fee, and Balance fields will also be denominated in Bitcoin.
Two different assets will never be mixed in a single Ledger entry.