How to export your OKX trade history

You need the full list of your OKX trades for taxes, a trading journal or your own analysis. On screen OKX shows only recent months, but the download covers the whole history.

Steps

  1. Log in to OKX on the website (the export is easier on a computer).
  2. Open Assets in the top menu and choose Order center.
  3. Go to the Trading history tab.
  4. Click Download on the right, choose the date range — the whole period you need — and confirm Export.
  5. When the file is ready, download it. Large ranges can take a few minutes.

Exchanges rename menu items from time to time. If a name differs slightly, look for the closest item — the path stays the same.

What you get in the file

You may not need to export at all

Buy&Sell connects to OKX, Bybit, Binance and Hyperliquid with a read-only key and loads your trade history on its own — with fees, funding, Earn and transfers already counted. No files, no spreadsheets.

No card, no auto-charges · read-only key

Questions

Why does OKX show only a few months on screen?

The on-screen list is shortened; the downloaded file covers the full period you choose.

Should I open the file in Excel before importing it somewhere?

Better not: saving it again in Excel or Google Sheets can change the format and break the import.

Other guides