Step-by-step guide to importing OKX trade history into TradingAtlas via read-only API sync or CSV upload. Set up a read-only API key, fix common errors, and track PnL and taxes.
Read-only API sync (passphrase required), plus CSV
OKX runs a unified trading account that mixes spot, margin, perpetuals, futures, and options under one balance. Isolating taxable events from that unified ledger is where most tools struggle.
OKX requires a passphrase with each API key. TradingAtlas reads the unified account and splits spot, margin, and derivatives into clean per-instrument history.
| API sync | Yes |
|---|---|
| API status | Read-only API sync (passphrase required), plus CSV |
| CSV import | Yes |
| CSV exports supported | Unified account trade history, Bills / transaction details, Funding records |
| Futures / perpetuals | Yes |
| Funding fees | Yes |
Create a read-only OKX API key so trades sync automatically.
Read-only access is all TradingAtlas ever needs — never enable trading or withdrawals.
OKX requires the passphrase you set when creating the API key. It is not your login password and cannot be recovered — store it safely and paste it into the passphrase field in TradingAtlas.
Prefer files? CSV upload works for every account.
Upload any or all of these — they are merged into one timeline.
Platform-specific behavior that affects imports.
Quick fixes for the problems traders hit most often.
Once your OKX trades are imported, TradingAtlas builds an automated trading journal, calculates realized PnL and win rate, and prepares cost-basis data for tax reporting — all from the same normalized history.
Connect OKX via read-only API or CSV and start tracking PnL and taxes.
Start for free →No credit card required · Free plan available