Trader's Second Brain Trader's Second Brain

How to Export OKX Trade History Without Missing Data

OKX puts order, trading, funding, and account-statement evidence in neighboring screens. Each dataset has a different meaning, and only execution evidence should create journal trades.

Quick Answer

Open Assets → Order Center. Use Trading History for trade-related balance changes and fees, Order History for order state, Funding History for deposits/withdrawals/transfers, and Account Statement for snapshots. Import supported trading/position files one at a time, then reconcile them against funding and statement totals.

Your trades · one review system
Import → reconcile → review

Find the leak before the next trade.

Import or log every trade, expose setup-level leaks, and turn them into a focused Daily Review.

Start my free trading journal →
Trader's Second Brain preview
Reading map

Three checkpoints in this guide

Follow the full walkthrough in order, or jump directly to one of its main sections.

  1. 01Opening checkpointOKX has four adjacent records with four different jobs

    Section 01 of 06

  2. 02Middle checkpointThe current TSB import boundary

    Section 03 of 06

  3. 03Closing checkpointOfficial screen checked

    Section 06 of 06

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 screenWhat it recordsUse in a journal
Order HistoryFilled, cancelled, expired, and other placed ordersAudit status and order intent
Trading HistoryTrading-related balance changes, fills, fees, and transfers related to tradingPrimary spot reconciliation evidence
Funding HistoryDeposits, withdrawals, buys/sells, and transfersCash-flow and wallet reconciliation; not execution history
Account StatementMonthly or date-specific account snapshotControl 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.

Do not upload “the biggest OKX file” and hope: preserve the dataset name in the filename. Trading Account and Funding Account histories can use similar columns while representing completely different events.

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

  1. 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.
  2. Import: open TSB Journal → Import trades and upload the untouched Trading Account or exact fills file by itself.
  3. 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.
  4. 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.

Igor Manuilov
Written and reviewed by
Igor Manuilov
Founder of Trader's Second Brain · Trader since 2014
Editorial accountability

Trader since 2014. Built Trader's Second Brain to make execution review more evidence-based and less dependent on memory, scattered spreadsheets, or vague journaling.

Your trades · one review system
Import → reconcile → review

Your trade history already knows what to fix next.

Import or log every trade, expose setup-level leaks, and turn them into a focused Daily Review.

Start my free trading journal →
Trader's Second Brain preview

Frequently Asked Questions

Quick answers to the most common questions about Export OKX Trade History.

Order History records every placed order and its status. Trading History records balance changes caused by trading, including fills and trading fees.

No. It records deposits, withdrawals, purchases, sales, and transfers. TSB keeps it as reconciliation evidence and blocks non-trade funding files from creating trades.

The history screens display up to 90 days. Older records are available through the Download/Export flow, subject to account and regional availability.

Reviewed profiles include trading-account spot history with paired balance legs and position-side fills. Empty and non-trade trading/funding files are guarded.

A valid container may contain only transfers, yield, deposits, withdrawals, or headers. Valid file format is not the same as valid execution evidence.