· André Mendes · 6 min read
How to Automate a Trading 212 Portfolio
Trading 212 gives you a fast way to hold a portfolio, but it does not rebalance that portfolio for you. Market moves shift positions away from whatever allocation you started with, and closing that gap by hand means calculating the right trade across every holding and placing it yourself, ideally before the drift gets large enough to matter. Automating that maintenance step is what this article covers: what "automating a Trading 212 portfolio" actually means, what a connection can and cannot do, and the choice you have to make about how much of the process runs without you.
What automation means here
Automating a Trading 212 portfolio does not mean handing over discretionary control to a system that picks stocks or times the market. It means connecting your account to a tool that reads your current positions, compares them against a target allocation built from a published method, and places the trades needed to close the gap on a schedule you set. The target allocation itself, and the method used to build it, come first. Automation is what keeps that allocation from decaying once prices start moving it away from plan.
Acubic is one such tool: an AI portfolio builder with optional broker automation for Trading 212 and eToro. The construction side, how a target allocation gets built in the first place, is covered in full in how Acubic works. This article is about what happens after that allocation exists and you decide whether, and how, to keep it maintained automatically.
How the connection works
A Trading 212 connection runs on an API key you generate yourself inside the Trading 212 app, under Settings, then API (Beta). It is not an OAuth login: you create a separate, revocable credential and hand that to the automation tool rather than sharing your account password. The key is scoped to a defined set of permissions, typically account data, portfolio, metadata, and order read and execute access, with the Pies permissions left off since a rebalancing tool trades positions directly rather than through Trading 212's own basket feature. The moment you revoke the key inside Trading 212, the tool's access ends immediately, independent of anything happening on the tool's side.
Only Invest and Stocks ISA accounts can be connected this way. CFD accounts are outside the scope of the permissions a rebalancing connection uses.
The one structural fact that matters most
Here is the detail that actually distinguishes automating a Trading 212 portfolio from doing the same thing on some other brokers: a Trading 212 API key is scoped to your whole Invest account, and there is no separate, isolated sub-account to fund. That is different from eToro, where unattended rebalancing requires a distinct mirrored sub-account funded apart from your main balance, a constraint that comes from eToro's own account architecture. Trading 212 has no equivalent structure, so every automation mode is available directly on your main account from the outset. We cover that broker-by-broker difference in more depth in how Acubic works with Trading 212.
The three levels of automation
Whatever tool you use, automating a Trading 212 portfolio typically means choosing a point on a spectrum from full manual review to full unattended execution. In Acubic's case, that spectrum has three defined stops:
- Monitoring only: the system tracks drift between your live positions and the target allocation and reports it back to you, but nothing is ever sent to the broker. You decide separately whether and when to act.
- One-click approval: on a schedule you set, the system prepares the exact set of trades needed to close the drift and stops there. You review the proposed trades and approve or reject them. This is the default mode, because it keeps a human decision in the loop on every rebalance while removing the manual work of calculating the trades.
- Full-auto: scheduled rebalances execute without a per-order prompt, behind the same safety guards as one-click approval: one order in flight at a time, conservative position sizing, and a sanity check that halts the run if the calculated trade set looks implausible. Every order is recorded afterward in an audit log regardless of which mode produced it.
Because a Trading 212 connection has no sub-account constraint, you can choose any of the three from day one, on your main account. The detailed mechanics of each mode, and a framework for deciding between them, are in one-click vs full-auto rebalancing.
What a rebalance actually does
A common misconception is that an automated rebalance sells everything and rebuilds the portfolio from scratch. It does not. The system reads your live positions, compares them to the target weights of the strategy you attached to the connection, and trades only the difference. A position already sitting at its target weight is left untouched, and if nothing has drifted meaningfully, nothing trades at all. This distinction, between building a target allocation and defending it against drift over time, is explained further in portfolio optimization vs rebalancing.
Positions you held before connecting, and any amount outside the value you designate as managed, are left alone. Your Trading 212 account does not need to be dedicated entirely to the automated strategy.
What automation does not do
Being clear about the limits matters as much as describing the capability. Automation here reads positions and places equity orders on the schedule and mode you choose. It does not predict short-term price moves, and no part of a construction method built on historical risk relationships depends on doing so; the reasoning behind that is set out in full on the methodology page. It does not touch Trading 212 Pies, and it does not touch CFD accounts. Disconnecting, whether from inside the tool or by revoking the API key directly in Trading 212, does not liquidate anything: every position stays exactly where it is, and the tool simply stops sending future rebalance orders.
Choosing how often it runs
Automation also means picking a rebalance frequency, not just a level of approval. A frequency that is too tight generates unnecessary trades and turnover on drift that would have corrected itself; a frequency that is too loose lets the portfolio sit meaningfully off target for longer than needed. There is no single correct answer here, because it depends on how volatile the selected holdings are and how much drift you are willing to tolerate before it gets addressed. What matters is that the frequency is a setting you choose deliberately, attached to the strategy on your connection, rather than something baked into the tool's behavior that you cannot see or change.
What happens when an order does not fill
Brokers reject orders. An instrument can become temporarily unavailable, a market can be closed, a position can fall below a minimum tradable size. A rebalancing connection worth trusting records that outcome rather than hiding it: when Trading 212 rejects an order, the failure is logged against that specific rebalance run together with the reason the broker gave, and the remaining orders in the same run are handled independently rather than the whole run being abandoned. Every order placed, including a rejected one, should be reviewable afterward in an execution history, so you can reconstruct exactly what happened and why. For the underlying API behavior this rests on, see the Trading 212 API: what you can actually build.
Deciding whether to automate at all
Automation earns its place when you already have a target allocation you believe in and the real problem is upkeep: the portfolio drifts, the corrective trade is tedious to work out across many positions by hand, and it is easiest to skip at exactly the moment it would help most. That is a maintenance problem, and a rebalancing connection solves it directly. It is the wrong fit if what you actually want is stock tips, short-term market calls, or a system that claims to time entries and exits, because no automation mode changes what the underlying method is built to do.
If you want to see the construction side first, before connecting anything, start with the AI portfolio builder or read the full method in our guides. When you are ready to look at the Trading 212 connection itself, how Acubic works with Trading 212 has the complete setup walkthrough, and the about page covers who is behind the product.
Want to put this into practice? Explore the Acubic guides or see how the AI portfolio builder turns constraints into a structured portfolio.