INDEPENDENT THINKING. ON EVERY BLOCK.RESEARCH / REVIEWS / GUIDES

How to read a Kraken trade-history CSV without counting fills twice

Rebuild a spot purchase from two fills, calculate its weighted price and find which currency paid the fee in Kraken’s ledger.

Open ledgers and an adding machine sit side by side.

One click on Buy, two rows in the export. Deleting the apparent duplicate can erase part of a real purchase. The first thing to compare is the order ID. Kraken gives fills from one order a shared ordertxid, while each execution receives its own txid.

Rebuild an order from its parts

Suppose your ETH/USD spot buy fills in two pieces. The first buys 0.20 ETH at $2,000, costing $400. The second buys 0.30 ETH at $2,020, costing $606. Both rows belong to the same order. The total is 0.50 ETH for $1,006 before fees. The weighted execution price is therefore $2,012 per ETH. Simply averaging the two displayed prices would give $2,010 and ignore the larger second fill.

Sort by order ID and retain the execution IDs. Sum volume in units of the base asset and cost in units of the quote asset. Keep different pairs separate. Adding the dollar cost of an ETH/USD order to the bitcoin cost of an ETH/BTC order produces a number with no usable unit.

Why the cash movement can differ

Kraken’s Trades History field guide, updated October 6, 2026, explains that the fee in the trades export is expressed in the quote currency. The balance actually charged can be in another currency. Use the ledger to identify the deduction before subtracting a fee from your dollar balance. For an order that shows different fee rates across fills, see the maker and taker example.

Keep the time zone with the file

The export’s time field is UTC. A fill stamped 20:00 UTC on November 23 falls at 01:30 on November 24 in India. Preserve the original timestamp and make a separate local-time column if reconciling by calendar day. Keep an untouched copy of the CSV. A spreadsheet that displays only the hour can hide a date boundary and make two otherwise different rows look identical.

Editorial disclosures