Phone setup guide

Connect your accounts from your phone

Every platform below can be connected without touching a computer. Three of them let you create the key inside their own app; the other three need you to open a mobile browser and log in there. Each takes about three minutes. Always create the key as read-only — 4tune never places trades, deposits or withdraws. Your keys stay on your phone and go straight to each platform, never to us.

On a computer instead? Use the desktop guide →

Before you start Read this once

The one rule that matters on a phone: every platform shows the secret exactly once, and on a phone you will be switching apps mid-flow to fetch a 2FA code. That switch is what loses people their secret — the page reloads, or the clipboard is overwritten, and the only fix is deleting the key and starting again.

So: the moment the secret appears, paste it somewhere safe before you do anything else — a password manager, or a note you delete afterwards. Then open 4tune and paste it in. Don't rely on the clipboard surviving an app switch, and don't rely on scrolling back.

Have your authenticator app ready before you begin. Most of these flows stop halfway and ask for a code.

Route 1 — in the platform's own app

No browser needed. Everything happens inside the app you already have installed.

Trading 212 In the app

  1. Open the Trading 212 app → tap the menu icon (☰) or your profile icon — the app has moved this between versions, both lead to the same place
  2. Tap Settings → API (Beta)
  3. Tap Generate API key. Accept the risk warning about third-party applications — it's mandatory and appears before the form
  4. Under IP access restrictions, choose Unrestricted. Your phone's IP changes every time you move between Wi-Fi and mobile data, so a restricted key would stop working
  5. Under Permissions, turn ON only:
    • Account data — your cash and balance
    • Portfolio — your open positions
    Leave Orders - Execute OFF — it's the only toggle that grants trading access, and leaving it off is what makes the key read-only.
  6. If you also want fees paid shown, additionally turn ON History and History - Orders
  7. Generate the key, then copy the API Key and API Secret — save the secret before you leave the screen
  8. Open 4tune → Settings → Trading 212 → paste both

⚠️ If the iOS app doesn't show you a Secret Key, this is a known report from some app versions. Update the app first; if it still doesn't appear, create the key at trading212.com in your mobile browser instead — the same Settings → API (Beta) screen is there.

API (Beta) only appears for Invest and Stocks ISA accounts — not SIPP. A demo-account key won't work on a live account, or the other way round.

Binance In the app — Pro mode

⚠️ API Management only exists in Pro mode. This is the single reason people can't find it on their phone. If your app looks simplified, tap the Binance logo at the top-left of the home screen and choose Binance Pro at the bottom of the menu. (If that entry says "Binance Lite" instead, you're already in Pro.)

  1. In Pro mode, tap More to open the services panel
  2. Scroll to the Other section → tap API Management
  3. Tap Create API
  4. Choose System generated (HMAC) — this gives you a key and secret pair. Don't pick "Self-generated", which needs you to produce your own keypair
  5. Give the key a name, e.g. "4tune"
  6. Confirm with your 2FA — this is where you'll switch to your authenticator app, so save nothing to the clipboard yet
  7. Copy the API Key and Secret Key — the secret is shown only now
  8. Leave the IP access setting Unrestricted, and leave every permission except Enable Reading switched off
  9. Open 4tune → Settings → Binance → paste both

Binance makes this one easy. Since 2023, a system-generated key with no IP restriction cannot be given any permission beyond reading — trading and withdrawals both require an IP allowlist. So by leaving it unrestricted, the key is read-only by Binance's own rules, not just by your choice.

Binance won't let you create a key until the account has 2FA enabled, identity verification completed, and at least one deposit into the Spot wallet. A brand-new empty account will be blocked at step 3.

OKX In the app

  1. Open the OKX app → tap the Menu (⋮⋮⋮) grid icon in the bottom-right nav bar
  2. Scroll down → tap API → Create API key
  3. Enter an API name
  4. Pick the right Account — a sub-account key won't read your main account
  5. Set a Passphrase. Type it somewhere safe first and paste it in — see the warning below
  6. Leave the IP address allowlist empty — 4tune calls OKX straight from your phone, so there's no fixed IP to list
  7. Under Permissions, tick Read only. Leave Trade, Withdraw and Transfer unticked
  8. Confirm with your verification codes — OKX usually asks for more than one, so expect to switch to both your authenticator and your email
  9. Copy the API key and Secret key
  10. Open 4tune → Settings → OKX → paste all three: key, secret and passphrase

⚠️ The passphrase cannot be recovered. OKX will never show it again, and there is no reset — if you lose it you delete the key and start over. This is the most common way people get stuck on a phone, because it's easy to fat-finger a passphrase into a small field and never notice. Write it down first, then paste.

One OKX key covers spot, margin and futures — there's no separate futures key. Demo Trading keys are made separately and won't work on a live account. In some regions OKX requires a balance above about $100 before it will let you create a key at all.

Route 2 — in your mobile browser

These three don't offer key creation in their apps. Open Safari or Chrome on your phone and log in there — the app stays as it is, nothing changes about it.

Alpaca Mobile browser

⚠️ Alpaca has no read-only API keys. There is no permission selector anywhere in this flow: every key Alpaca issues can also place orders, cancel them and liquidate positions. 4tune only ever reads — but the key itself carries the power, so you should know that before you make one. Alpaca keys also can't be IP-restricted and don't expire.

  1. Open app.alpaca.markets in your mobile browser — not the app, and not the docs site
  2. Log in
  3. Check the account selector in the top-left corner and pick the right one. Paper and Live have completely separate keys, and this is easy to miss on a narrow screen
  4. On the dashboard, find the API Keys panel — on a phone you'll need to scroll well down the page, since it sits in the right-hand column on desktop
  5. Tap View, then Generate New Keys
  6. Copy both immediately. Alpaca's secret vanishes the moment you refresh or navigate away — there is no second chance and no way to retrieve it
  7. Open 4tune → Settings → Alpaca → paste both, and set Live or Paper to match what you generated

If you'd rather the key couldn't trade at all, use a Paper account. Paper keys still give live IEX market data, so prices, search and charts all work exactly the same — only the holdings shown are the simulated ones.

Generating new keys invalidates the old pair, so anything else you've connected to Alpaca will stop working until you update it.

Kraken Mobile browser

The Kraken and Kraken Pro apps can use an API key, but they can't create one. You'll need the browser for this step only.

  1. Open pro.kraken.com/app/settings/api in your mobile browser and sign in (or go to kraken.com → profile icon, top right → Settings → API)
  2. Tap Create API key (older screens call it Add key) and give it a name
  3. Under Funds, tick Query — some Kraken help pages still call this "Query Funds". Leave Deposit, Withdraw and Earn unticked
  4. Under Orders and trades, tick Query closed orders & trades. 4tune reads your trade history through it to work out both fees paid and crypto profit/loss — Kraken reports neither directly, so without this both show "unavailable"
  5. Leave everything else unticked, and leave Key Expiration, Nonce Window and IP Restriction at their defaults
  6. Tap Generate key, then copy the API Key and Private Key from the panel that appears — it won't come back
  7. Open 4tune → Settings → Kraken → paste both

⚠️ Don't turn on 2FA for this key. It's a separate, optional Kraken feature, and a key with it enabled has to send a fresh code on every single request — which no portfolio tracker can do.

⚠️ Kraken has two separate APIs with separate key pages — Spot (this one) and Futures (below). A Futures key pasted here will be rejected as "Invalid key".

If the page renders too cramped to use, turn on Request Desktop Site — in Safari it's the "aA" menu in the address bar, in Chrome it's ⋮ → Desktop site.

Kraken Futures Mobile browser

⚠️ This is a different site and a different key from Kraken Spot above. If you already made a Spot key, you still need a second one here.

  1. Open futures.kraken.com/trade/settings/api in your mobile browser and sign in (linking your existing Kraken account if prompted)
  2. If the settings panel won't render properly, turn on Request Desktop Site — this page is a full trading terminal and is the most likely of the six to need it
  3. Open the API panel → Create Key tab
  4. Set General API to Read Only — not Full Access
  5. Leave Withdrawal API as No Access
  6. Tap Create Key and copy both the Public key and Private key — shown only once
  7. Open 4tune → Settings → Kraken Futures → paste both

Shows portfolio value, unrealized PnL, margin equity and open positions. No IP restrictions or key expiry apply to Futures keys.

Stuck on a step?

Email 4tune.tracker@gmail.com with the platform and a screenshot of what you're seeing (never your keys) and we'll help.

Setting up on a computer instead? The desktop guide is here.