Three checkpoints in this guide
Follow the full walkthrough in order, or jump directly to one of its main sections.
OKX has four adjacent records with four different jobs
Sign in to OKX, open Assets → Order Center, and use the menu bar to choose the dataset. The names are similar, but their rows should not be normalized the same way.
| OKX screen | What it records | Use in a journal |
|---|---|---|
| Order History | Filled, cancelled, expired, and other placed orders | Audit status and order intent |
| Trading History | Trading-related balance changes, fills, fees, and transfers related to trading | Primary spot reconciliation evidence |
| Funding History | Deposits, withdrawals, buys/sells, and transfers | Cash-flow and wallet reconciliation; not execution history |
| Account Statement | Monthly or date-specific account snapshot | Control totals and ownership evidence |
The exact OKX export screens
Order History
Choose Order history, then Download. On the download page select the date range and choose Export. When the statement is ready, select Download. The normal screen displays up to 90 days; the exported file is the route for older records.
Trading History
Choose Trading history → Download, select the range, and export. OKX describes this dataset as balance changes related to trading, including filled orders and trading fees. For a spot journal, it is more useful than a list of order statuses because it exposes the economic legs that must balance.
Funding History and statements
Choose Funding history → Download when deposits, withdrawals, wallet transfers, or other account cash flows are needed for reconciliation. Monthly statements appear under Account statement; date-specific statements are generated from My assets → Account statement. These controls verify account totals but do not turn a transfer into P&L.
Know which historical promise applies
The current OKX article says Trading History and Funding History downloads can reach February 2021. For Order History, the February 2021 note is explicitly limited to VIP users. Custom-date account statements cover the past two years, use UTC with a 00:00 cutoff, and are not available through the app; the app exposes only the past 12 months of account statements. Treat the actual date picker in the authenticated account as controlling because region, account age, and user tier can narrow these ranges.
Preserve the account boundary in every filename
OKX separates Trading Account and Funding Account activity. Include the source account, dataset, and UTC dates in the filename, for example okx-trading-history-2026-08-01--2026-08-31.csv. Use a different file for Funding History. Do not paste the two into a common worksheet: similar asset and amount columns do not mean the rows share trade semantics.
If the visible 90-day screen is shorter than the period you need, use Download/Export for older records and split the range. Verify the first and last row of every part before import; a clean CSV can still be incomplete.
The current TSB import boundary
TSB has a reviewed OKX trading-account spot history profile that reconstructs a trade only when the paired balance movements prove symbol, side, quantity, price, fee, time, currency, and account. It also has a reviewed OKX position-side fills profile for the exact fills schema.
Four guardrails protect the boundary: empty Trading Account export, non-trade Trading Account history, empty Funding Account export, and non-trade Funding Account history. A funding file containing staking yield, deposits, withdrawals, or transfers is retained for ledger/tax reconciliation but must not create trades.
What paired spot evidence means
A spot exchange changes two assets: the trader gives one asset and receives another. For example, buying BTC with USDT should produce a BTC increase and a USDT decrease, plus any fee movement. TSB can reconstruct price and size only when those legs, their timestamp, and their account relationship are consistent.
If an export starts after one leg, contains only a transfer, or reports a reward without the matching exchange event, the safe result is zero trades plus a reconciliation row—not a guessed buy or sell. This is why Funding History should be checked beside the batch but not forced through the trade parser.
OKX-specific failure modes
- Only one spot balance leg: without both sides of the exchange, price and quantity cannot be proved safely.
- Funding Account used as Trading Account: deposits and transfers can resemble profitable balance changes.
- 90-day UI assumption: the on-screen list is not the historical limit; use Download for older records.
- Empty but valid file: headers alone prove the export family, not an importable trade.
- Order-status duplication: an order row and its economic trading rows must not both be counted as separate trades.
- Snapshot treated as period P&L: a statement value mixes performance and external cash flows unless reconciled.
The exact export → import → reconcile → review workflow
- Export: download Trading History for the exact account/window. Add Order History for status evidence, Funding History for external flows, and an Account Statement for the end control total.
- Import: open TSB Journal → Import trades and upload the untouched Trading Account or exact fills file by itself.
- Reconcile: compare paired asset legs, fill count, fees, realized P&L, transfers, deposits/withdrawals, account, UTC window, and ending statement balance. A guarded funding file is evidence, not a failed trade import.
- Review: inspect matched positions and warnings, confirm side and partial-close grouping, add strategy context, and mark reviewed after the ledger balances.
Worked reconciliation: transfer or profitable trade?
A Trading Account history shows a 2,000 USDT increase. Funding History shows a 2,000 USDT transfer from the user’s Funding Account at the same time. That is an internal transfer, not trading profit. At the consolidated OKX level the two rows cancel.
By contrast, a spot BTC/USDT exchange should show the asset legs, fee, and execution timing needed to prove the trade. Reconcile those legs first, then compare the remaining unexplained change with deposits, withdrawals, rewards, and the Account Statement.
Production acceptance checklist
- The filename identifies Trading or Funding Account, dataset, and UTC window.
- Every spot exchange has both economic asset legs or an exact reviewed fill row.
- Order statuses explain intent but do not duplicate the Trading History result.
- Internal transfers cancel between owned OKX accounts at the consolidated boundary.
- Fees retain their asset and are included once in net performance.
- The ending balance agrees with the statement after external flows and open positions are included.
Official screen checked
OKX: How do I download my account statements?, including Order History, Trading History, Funding History, and Account Statement export paths.