How can I export my data?

You can export your trades/ledger data in csv format by navigating to History > Export in your Kraken account.