Skip to content
All sources

OKX EEA in TaxChain

Not offered yet

TaxChain cannot import OKX EEA yet. This page says what exists and what it is waiting for.

OKX's European entity, at my.okx.com, where EU residents are moved. TaxChain reads it only through the API, with CCXT's `myokx` client, and that is offered only on a sandbox stack: it reads spot trades from the last 3 months, deposits, withdrawals and converts, and has the same defects as OKX's. There is no CSV reader for OKX EEA.

Ways in

  • File uploadCould be added

    OKX EEA trading history and funding history, as CSV

    OKX EEA offers the same Order center downloads as OKX, from 28 January 2021, as CSV or PDF [[okx_eea-help-trading-history]]. TaxChain has no reader for them under OKX EEA. A Trading history file with the columns OKX documents is recognised by the OKX reader, but it is then imported as OKX, not OKX EEA, and whether OKX EEA's file has the same columns and rows is unchecked.

  • API connectionNot offered yet

    CCXT `myokx` (eea.okx.com) [[okx_eea-ccxt]]

    An API key with the Read permission only, its secret and its passphrase. OKX keys always come with a passphrase, and TaxChain asks for it.

    Not offered in production. Like every CCXT exchange it can be connected only on a sandbox stack, which talks to OKX demo trading [[okx_eea-api-demo]].

    The API holds little history. Spot fills come from the last 3 months only [[okx_eea-api-fills]] and trading account bills from the last 7 days [[okx_eea-api-bills]]. A first sync cannot reach older trades.

    Paging is wrong for OKX. OKX returns the newest 100 fills of a range, and the sync stops after that first page, so an account with more than 100 spot fills in the window gets only the newest 100 while the sync reports success. This is a known defect, kept as an expected failure in the tests.

    Deposits and withdrawals are paged from a start time with OKX's `before` parameter [[okx_eea-api-movements]]. Whether OKX then returns the oldest or the newest 100 records after it is not documented, so whether an account with more than 100 of either is read in full is unchecked.

    Only spot fills are requested. Margin fills (a separate instrument type at OKX) and all derivatives are not.

    OKX's full history is available by API in other forms TaxChain does not read yet: quarterly bill files of the trading account since February 2021 [[okx_eea-api-bills-archive]], and the funding account's bill history since February 2021 [[okx_eea-api-asset-bills]]. Reading both would cover trades, income and transfers for a whole tax year.

  • Wallet addressNot available

    None

    An exchange account has no public address of its own to read. Your own wallets that send to or receive from OKX can be added as chain sources.

What is read

ActivityStatus
Spot tradesBy API (sandbox only): the last 3 months, the newest 100 fills at most.Partly read
Trading feesWith each fill, in the asset OKX names (feeCcy). A positive fee is a maker rebate and is left out.Read
Deposits and withdrawalsBy API (sandbox only), with the withdrawal fee, full paging past 100 unchecked. Some held states pass as completed (see Limitations).Partly read
ConvertsBy API, and a convert buy comes out reversed.Partly read
Perpetuals and futures: realised P&L and fundingThe sync requests spot fills only. Funding bills (OKX bill type 8) are named "fee" by CCXT and skipped, and liquidation and delivery bills are named "trade" and skipped [[okx_eea-ccxt]].Not read
OptionsNot read
Margin trades and borrowing interestMargin fills are not requested, and interest deduction bills (type 7) are skipped.Not read
Staking, Simple Earn and other earn productsThis income is booked in the funding account [[okx_eea-api-asset-bills]]. The sync reads the trading account's bills only.Not read
Airdrops, event rewards and referral rewardsFunding account bills; not read.Not read
Card or fiat purchasesFunding account bills; not read.Not read
NFTsThe OKX Web3 wallet is self-custodial and read, if at all, as a chain source.Not applicable

Limitations

  • There is no OKX EEA reader in production today: no CSV reader under OKX EEA, and the API is sandbox-only. An OKX EEA Trading history file with OKX's documented columns is read by the OKX reader and filed under OKX; this is unchecked on a real OKX EEA export. Otherwise use the TaxChain CSV template.
  • An API connection cannot replace a file for a full tax year: OKX keeps 3 months of fills and 7 days of trading bills behind the endpoints the sync uses [[okx_eea-api-fills]] [[okx_eea-api-bills]].
  • Converts bought through OKX Convert are read in the wrong direction: for a convert buy, CCXT reports the coin received as the coin given [[okx_eea-api-convert]] [[okx_eea-ccxt]]. Check every convert after a sync.
  • An automatic token conversion bill (type 4) that credits the account is booked as an airdrop, and its debit leg is dropped.
  • Deposits held by OKX (suspended coin, blacklisted address, frozen account, KYC limit) and withdrawals waiting on the Travel Rule vendor or on OKX's hot wallet are imported as if completed, because CCXT does not know those states [[okx_eea-api-movements]].
  • Nothing from the funding account other than deposits, withdrawals and converts is read: add staking, Earn, airdrops and rewards with the TaxChain CSV template.

How it has been checked

  • November 20, 2026OKX's documented fills-history, deposit, withdrawal and convert responses, and two bills CCXT recorded from OKX, read through CCXT's own OKX parsers and TaxChain's normalizers. A spot fill, a deposit and a withdrawal with its fee come out right; a convert buy comes out reversed, a funding bill is skipped, an auto token conversion becomes an airdrop, and OKX deposit and withdrawal states CCXT does not know pass as settled. The last four are kept as expected failures.
  • November 20, 2026The OKX (CCXT `okx`; `myokx` is the same class on the EEA host) sync run through the real CCXT client against a server that answers as OKX documents fills-history: 60 fills in the window are all read; of 250, only the newest 100 are (expected failure).
  • November 19, 2026CCXT's recorded OKX responses (one spot fill, one trade bill, one funding bill) through the normalizers, with every other CCXT venue.

What would make it Verified

Fix the paging so it walks fills-history backwards by billId (OKX returns the newest page first), and treat only OKX's final states as settled.

Read the convert side correctly (a buy gives the quote), and map OKX bill types explicitly instead of through CCXT's names: funding (8), liquidation (5), delivery (3), interest (7), auto conversion (4).

To cover a whole tax year, read the trading account's quarterly bill files and the funding account's bill history, both available by API since February 2021.

Then sync a seeded OKX demo account on the sandbox stack, and reconcile a real account (supplied by the owner) through the engine against OKX's own statement.

A CSV reader for OKX EEA's own Trading history and Funding history exports, tested on a real export the owner supplies.

How to add it

  • On my.okx.com, open Assets, then Order center, then Trading history, and choose Download; do the same for Funding history [[okx_eea-help-trading-history]] [[okx_eea-help-statements]].
  • TaxChain has no OKX EEA reader for these files yet. The Trading history file may be read by the OKX reader, as OKX; for everything else, enter your OKX EEA activity with the TaxChain CSV template and keep the files.

Last checked against the platform's documentation and TaxChain's code on November 20, 2026.