Connect OKX with a key that can only read. MarginPad Journal imports the last three months of your perpetual swaps, rebuilds every position from the fills and shows what each trade really made after fees and funding - and how much you could keep. Free.
- On OKX open API and press Create API key, purpose API trading.
- Set a passphrase and keep it - the journal asks for it.
- Permissions: tick Read only.
- IP address: paste 167.172.98.147 and confirm.
IP to bind: 167.172.98.147
Every request to OKX comes from that one server, so a key bound to it is useless anywhere else.
Every trade, rebuiltPartial closes, flips and averaging-in resolved into positions with entry, exit, size and time held.
Fees and funding in dollarsWhat each trade paid at 0.05% taker / 0.02% maker base rates - or your own tier - and what funding took.
Checked against OKXContract sizes are converted with each instrument's own contract value, so a fill of 10 contracts is the right amount of coin.
Where you loseBy market, side, hour, time held and size, with a tilt detector for trades opened right after a loss.
What it would cost elsewhereYour volume and taker share priced on each exchange, against what you actually paid.
Share a verified tradePost a closed trade to the MarginPad chat as a card in OKX's colours, marked verified from the exchange.
Why does OKX need a passphrase?
OKX signs every request with key, secret and the passphrase you chose. It is stored encrypted with the key and used only to read.
What if my key can trade?
OKX tells us a key's permission when we ask. Anything other than read-only is refused before it is stored.
Does it work with OKX EEA or OKX US?
Yes - the journal tries each OKX region with your key and keeps the one that answers.
What does it cost?
Nothing. No card and no trial that ends.