> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ai2fin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Kraken — import trades and ledgers for capital-gains treatment

> Bring Kraken trade history into AI2Fin from a CSV export for crypto capital-gains tracking. What to export, how columns map, and why there is no live exchange feed.

<Info>
  **Available in:** Cloud · Desktop app · Self-hosted  |  **Method:** CSV export → [CSV import](/data-sources/csv-imports)  |  **Cost:** free on every plan
</Info>

## What AI2Fin does with exchange data

AI2Fin is a tax and expense tool, not a portfolio tracker. What it needs from an
exchange is the **trades** — date, pair, amount, price, fee — so each disposal
can be given a capital-gains treatment alongside the rest of your records.
Balances and live holdings are not what it is for, which is why the
Connectors page has no exchange tile: a live feed would add a subscription-style
sync for data the product does not use.

## Export from Kraken

<Steps>
  <Step title="Trades">
    Kraken → **History → Export** → type **Trades**, your date range, CSV.
  </Step>

  <Step title="Ledgers (optional)">
    The **Ledgers** export includes deposits, withdrawals, staking rewards and
    fees. Import it if you want those as transactions too — rewards are income
    in most jurisdictions.
  </Step>
</Steps>

## Import into AI2Fin

Transactions → **Import** → drop the CSV. AI2Fin proposes a column mapping
(`time` → date, `pair` + `type` → description, `cost` → amount, `fee` → fee)
and remembers it for the next Kraken file. Multi-currency is handled; pick the
account you want the trades recorded against.

## Working out the gain

Use the [crypto tax calculator](https://ai2fin.com/tools/crypto-tax-calculator)
for a quick estimate, or the [asset register](/features/asset-register) to hold
cost base per lot. AI2Fin surfaces the treatment with its reasoning shown;
confirm eligibility and method with your accountant or tax authority.

## Frequently asked

<AccordionGroup>
  <Accordion title="Will there be a live Kraken connection?">
    Not planned. Net-worth trackers integrate exchanges because they show
    balances; AI2Fin's job is the tax consequence of a trade, which a periodic
    export serves well. If you need holdings synced too, a portfolio tracker is
    the right tool alongside AI2Fin.
  </Accordion>

  <Accordion title="Other exchanges?">
    Any exchange that exports CSV works the same way — Binance, Coinbase,
    CoinSpot, Swyftx. Mapping is remembered per source.
  </Accordion>
</AccordionGroup>
