OKX · Live
The OKX trading journal
Viktury imports your OKX executions via automatic API sync and CSV import, matches them into round-trip trades first in, first out, and turns them into R-multiple analytics, playbook tracking, and mistake costs.
- Automatic read-only sync
- CSV import
What Viktury imports from OKX
- Spot trades and converts
- Perpetual and futures trades with their funding, EEA X-Perps included
- Margin trades
- Deposits and withdrawals
- Moves between your trading and funding accounts
- Simple Earn and staking income
OKX connects with a read-only API key you create on okx.com, or on my.okx.com if your account is with OKX in the EEA. The key brings in your last 3 months within minutes, and older history where OKX provides it, which OKX prepares as files and can take a few hours. Perpetual and futures trades carry the funding paid or received while they were open. If you would rather not create a key, you can upload your trading history export from OKX instead.
How it works
From OKX to your stats
- 01
Connect with a read-only API key
Create a read-only API key on OKX and paste it into Viktury. Keys are stored encrypted, and Viktury never gets withdrawal or trading permissions.
Setup guide → - 02
Trades become round-trips
Individual executions are matched into round-trip trades first in, first out, with funding included. Each closed lot keeps the price you actually paid, so your stats reflect what actually happened.
- 03
Your edge, quantified
Win rate by setup, mistake costs and time-of-day performance from the trades you import, and R-multiples on every trade you give a stop.
Questions
Before you connect
How does Viktury import my OKX trades?
Via automatic API sync and CSV import. API sync runs daily and can be triggered manually any time.
Does Viktury need trading or withdrawal permissions?
No. Viktury only ever needs read access to your trade history. Read-only API keys cannot place orders or move funds.
What data does Viktury read from OKX?
Trade executions (instrument, side, size, price, fees, timestamps), enough to rebuild your round-trip trades. Viktury never reads balances it does not need, and never shares your data.
Is Viktury free to try?
Yes. The free plan stays free, and your first trades start 14 days of Edge with the full analytics. No card needed.
How far back does Viktury import my OKX history?
The API serves the last 3 months, and those show up within minutes. For anything older, Viktury asks OKX for its quarterly history files, so older history arrives later and only where OKX provides it. It may be partial. If you need an older period now, export your trading history from OKX for those dates and upload the file to the same account.
Which permissions does my OKX API key need?
Only Read. Leave Trade and Withdraw off, because Viktury turns down a key that can trade. You paste three things: the API key, the secret key and the passphrase you set when you created the key. OKX shows the passphrase only once, so keep a note of it.
Does Viktury import my OKX perpetuals and futures?
Yes. Perpetual and futures trades come in as round trips, with every funding payment attached to the trade that was open when it was charged. EEA X-Perps work the same way, whichever position mode your account uses.
What does Viktury not import from OKX yet?
Margin borrowing and repayment rows and options are not turned into trades yet. Those rows are kept, and the account says how many it could not name, so nothing is quietly dropped. Each OKX sub-account has its own key, so add it as its own account.
Can I import OKX without an API key?
Yes. On okx.com in a desktop browser, open Assets, then Order center, then Trading history, and download it as CSV with the date range starting from your first trade. A file does not tell a move between your trading and funding accounts apart from money in or out, so those show as deposits and withdrawals until you add a key. A key and a file on the same account never count a row twice.
Your OKX trades, funding included.
Add a key that can only read and see every round trip.
Start free →No card · 14 days of Edge from first trades