A Trading 212 portfolio tracker reads your account’s history and answers what the app is not built to: what your return really is once the timing of deposits is taken out, how it compares with the S&P 500, how much risk you took for it, and what your dividends add up to. Trading 212 lets you issue an API key limited to reading your history, so a tracker can stay up to date without monthly exports. Here is what to look for, and how the connection works.
What a broker app shows, and what it leaves out
A broker’s app is built around the next order: what the account is worth now, what each position has gained, and a button to buy more. That is the right design for placing trades. It is a thin view for judging a strategy you have run for years.
The gap shows most clearly with deposits. Say you put in $6,000 in January and another $6,000 in October, and in December the account is worth $13,200. A simple view says you made $1,200 on $12,000, or 10%. But the October money was invested for less than three months; nearly all the gain was earned by the January deposit. A money-weighted measure such as XIRR puts the annual rate well above 10%, and a time-weighted one strips the effect of the deposits out altogether. Time-weighted vs money-weighted return works through the difference with numbers.
What to look for in a Trading 212 tracker
- A key that can only read. Trading 212’s API permissions are granular. A tracker should ask for the history permissions and nothing that can place an order.
- Your whole history, not the last year. Returns, drawdowns and win rates are only yours if they start when you started.
- Dividends counted as return. Each payment should be recorded against the company that paid it, with what is due next in view.
- A benchmark. Ten per cent in a year when the S&P 500 rose twenty is not a good year.
- Risk, not just return. Max drawdown, beta and the Sortino ratio say what the return cost you.
- Room for your other accounts. Few people keep everything at one broker, and the picture that matters is the whole of it.
Connecting Trading 212: an API key and its secret
Lemma Analysis connects Trading 212 with two values issued in the Trading 212 app: an API key and its API secret. The section that issues them, Settings → API (Beta), exists for an Invest or a Stocks & Shares ISA account only.
- Open Settings → API (Beta) in the app or the browser and start a new key.
- Leave IP access restrictions unrestricted: the key is used by our servers, not your device, so a list of your own addresses would stop the sync.
- Switch on four permissions and no others: History, History - Orders, History - Dividends and History - Transactions. Leave Orders - Execute off above all — it is the only permission that can place a trade, and nothing here needs it.
- Copy both values; Trading 212 shows the key and the secret once.
- In Lemma, open Settings → Connected accounts, choose the portfolio, press Connect an account and paste them. The broker connection guide has every screen of it.
The key is stored encrypted, never shown again — not even in your data export — and deleted when you disconnect, while the transactions it brought in stay. You can also revoke it in Trading 212 at any time. The security page lists what we hold and why.
The first sync, and what it brings in
Connecting starts the first sync by itself. It reads your whole history, and Trading 212 serves it a year at a time at its own pace, so it takes several minutes — up to about ten for a long history. It runs on our servers: you can close the page, and the row shows Importing history with how far back it has read so far. After that, the account syncs itself every night, the row counts down to the next run, and Run now starts one on demand.
The sync reads the same export a manual download would contain. What becomes of each kind of row:
| In the Trading 212 history | In your portfolio |
|---|---|
| Buys and sells | Imported as transactions, at the price per share in the instrument’s own currency. |
| Dividends | Imported gross — shares held × dividend per share — before any tax withheld. |
| Deposits, withdrawals, currency conversions, interest on cash | Not imported. They are cash movements, not trades in a company; set the portfolio’s cash by hand if you want it in the total. |
| A sale of shares transferred in from another provider | Skipped, because the purchase is not in Trading 212’s history. Record the transferred holding by hand if you want its history complete. |
The last row is the one that surprises people who moved an ISA in from another provider. The run summary reports skipped rows as a count, with that explanation beside it, so nothing disappears silently.
Trading 212 and another broker in one view
A connection belongs to one portfolio. If you also hold shares elsewhere, keep each broker in its own portfolio — connect Interactive Brokers to a second one, or load another broker’s export through the import wizard — and pick Combined portfolio in the header switcher. The combined view adds the portfolios together in one display currency, read-only, and the analytics board runs on it like on any single portfolio. A portfolio can also hold one connection per broker, if you would rather keep both in one.
Revolut, Degiro, XTB and Freedom24 cannot be connected; their history comes in as a file you export. If you would rather not issue a key at all, the same is true of Trading 212: the import wizard recognises its CSV export, and reads it the same way the connection does.
Trading 212 analytics: what you see once it is in
With the history in place, the portfolio tracker shows holdings with average cost and profit, XIRR, the dividends due in the next thirty days and each position’s contribution to return. The portfolio analytics board adds the rest of the checklist above: your curve against SPY, headline numbers since inception (CAGR, Sharpe, Sortino, max drawdown, beta, alpha, tracking error, win rate), a correlation matrix, factor exposures, the top drawdowns and a heatmap of monthly returns — with the full month-by-month record one click further.
Broker connections, the import wizard and the analytics board are part of the Ultimate plan. Every new account gets Ultimate for seven days once its email address is confirmed, with no card, which is time enough to connect Trading 212, let the first sync finish and read the board on your own history. Without Ultimate, you can still track a portfolio by entering transactions yourself, within the free plan’s limits.
Educational only. Not investment advice.
Lemma Analysis gives independent investors both lenses in one terminal — a stock screener and an intrinsic value tool for the fundamentals, alongside price history and charts for timing.