Automate Trading 212 with your own rules, no code
Words on this page
- API key
- A long code Trading 212 makes for you in its app (API stands for application programming interface: the door a program uses instead of the screens a person uses). A program holding the key can do only what you ticked when you made it. It is not your password, and you can delete it at any time.
- Practice account
- Trading 212's account with pretend money and real prices. A key made there can only touch pretend money.
- Fractional share
- A part of one share. Trading 212 sells them, so even a small amount can be spread across every part of a mix.
- Rebalancing
- Trading a portfolio back to the mix you chose after prices have moved it away. See the guide on portfolio rebalancing.
What Trading 212's connection allows
In the Trading 212 app, Settings > API (beta) creates a key. When you make it, you choose what it may do. A bot needs two things: to read the account, and to read and execute orders. Nothing else.
The connection is for Trading 212's ordinary investing accounts, where you own real shares and funds. It is not for its contract for difference accounts (bets on a price without owning the share), and a BasisPoint bot never uses those.
Trading 212 calls the connection a beta, and its own API documentation lists which order types work with real money and which only on the practice account. Read it before you rely on one particular kind of order.
What your bot does with it
Your BasisPoint bot is a copy of BasisPoint's own working bot, set up from the choices you make in the blueprint: the parts of your mix, how often it rebalances, your protections and your limits. There is no default strategy; the rules are yours.
Every day it reads prices, prepares a plan and explains each trade in plain words. You approve it, or let it trade by itself within the limits you set - see nothing moves without you.
The key goes into your own bot only, on its Settings > Brokers page, where it is kept encrypted. This website never asks for it, and nobody at BasisPoint needs your Trading 212 password.
When a share is priced in another currency than your account, Trading 212 converts the money and charges a currency fee. A bot that trades often pays that fee often, so the practice account in your bot charges the same kind of fees as Trading 212.
Practise first, then decide about real money
Every bot starts on simulated trading with real prices. When you want to see real orders, make your first key on Trading 212's practice account: the bot then places practice orders there, and you can compare what the bot reports with what Trading 212 shows.
Real money needs a second key from your real account, a short agreement you sign inside your bot and limits you set yourself. Real money opens once BasisPoint's company is registered. You can pause the bot, or go back to practice, at any time.
What it can't do
The permissions you tick are about reading the account and placing orders. None of them moves money out of your account, so the bot can't either. Your money and shares stay at Trading 212, in your name; BasisPoint never holds them.
A bot also can't make a weak strategy good. It follows your rules exactly, including the bad ones. Test them before you trust them: see how to backtest honestly.
A short checklist before you start
Have these ready, and the rest is a few minutes in the app:
- An ordinary Trading 212 investing account (not a contract for difference account).
- A first key made on the practice account, with only the reading and order permissions ticked.
- Your mix and limits decided in the blueprint, including what you would accept on a bad day.
- A clear idea of when you would pause the bot, written down before it ever trades.
Questions
Does BasisPoint need my Trading 212 password?
No. The bot uses only a key you make in the Trading 212 app. Delete the key there and the bot is cut off at once.
Can I use it on the practice account only?
Yes, for as long as you like. Real money is a separate step: a second key, an agreement in your bot and your own limits.
Do I need to write any code?
No. You describe the bot in the blueprint, one plain question at a time, and paste the key into your bot's Settings > Brokers page.
What if Trading 212 changes its connection?
It is a beta, so it can change. Bot updates arrive as numbered versions, and you are told by email what is new before your bot moves to one.
Education only: not investment advice and not a recommendation to buy or sell anything. Facts about BasisPoint checked on November 21, 2026.
