API sync

OKX Trading Journal with API Sync

Sync your OKX trades into EdgeDojo in one click. Track P&L, fees, and win rate, and find the setups that make you money.

Free during open beta. No card required.

OKX covers spot, perpetual swaps, and futures in one unified account, and EdgeDojo imports all of them. Connect with a read-only API key and each sync turns your latest fills into trades with entry, exit, fees, and P&L.

Traders on MyOKX in the EEA can connect the same way.

Tips for journaling OKX trades

  • Use one journal for spot and derivatives, then filter by symbol to see whether you perform best in spot or with leverage.
  • Record why you entered, not just where. Perp setups that look identical on the chart often have different reasons behind them.
  • Review trades by hour of entry. Liquidity on OKX shifts with Asian, European, and US hours.

How to sync your OKX trades

  1. 1 Log in to OKX and open Profile → API and connections (app: Menu → API).
  2. 2 Click Create API key, pick the Account to connect, and leave the IP allowlist empty.
  3. 3 Give the key read-only / view permission only. Do not enable trading, transfers, or withdrawals. EdgeDojo only reads your trade history.
  4. 4 Under Permissions tick Read only. Leave Trade and Withdraw unticked.
  5. 5 Set an API passphrase and save it. OKX can't show it again, and you'll paste it below.
  6. 6 Copy the API key, Secret key and Passphrase into the matching fields.
  7. 7 In EdgeDojo, open Journal → Import Trades → Connected accounts, choose OKX, paste the credentials and click Connect & sync.
  • Funding payments are not imported from OKX yet, so perp P&L excludes funding.

Sources: OKX API FAQ · OKX API docs: generating an API key

What you get once your OKX trades are in

Analytics that point to your edge

Win rate, expectancy, and P&L broken down by setup, symbol, hour of entry, weekday, and hold time.

A journal you will keep

Notes, tags, and chart screenshots on every trade, plus a daily diary with a session score.

Strategy rules and checklists

Tie each trade to a strategy and check off your rules, then see how following them changes results.

Risk in R, not just dollars

Log your stop and target to track R-multiples, and review MAE and MFE to tighten exits.

OKX journal FAQ

What permissions does the OKX key need?
Read only. Leave Trade and Withdraw unticked. You will also set an API passphrase, which OKX cannot show again, so save it.
Does EdgeDojo work with MyOKX (EEA)?
Yes. Connect MyOKX with a read-only API key the same way.
Which OKX products are imported?
Spot, perpetual swaps, and futures.

More broker journals

See all supported brokers and exchanges