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" = profits/loss for a margin trade.
"rollover" = borrowing charge for a margin trade.
"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).
|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.