Interactive Brokers automation.
Interactive Brokers is built for software that trades: its API can do almost everything its own apps can. This guide covers what that means in practice, how to keep it safe, and how blank uses it to run a whole trading day for you.
The automation ladder.
Orders you set once
Stop-losses, limit orders and brackets you place yourself in IBKR's apps. They run without you, but every decision is still yours.
Rules you write
Scripts or rule builders that follow instructions you wrote. They are only as good as the rules, and someone has to keep them up to date.
An advisor that decides
Software that researches, decides, places the orders and manages the risk itself, and explains each move. This is what blank does.
How software reaches an IBKR account.
Most automation talks to Interactive Brokers through IB Gateway, IBKR's own small program that holds a signed-in session and passes orders to your account.
- It runs where you run it. blank installs IB Gateway from Interactive Brokers and runs it in the background on your own computer, so the connection never passes through our servers.
- It signs in like you do. Your username, your password and your second factor. With blank your password passes once to IB Gateway and is never stored or sent to us.
- It needs signing in again each week. IBKR ends long sessions, so expect a short weekly sign-in. blank remembers your username so only the password is typed.
- It can be read-only. IB Gateway has a Read-Only API setting. An advisor that trades needs it off; blank sets that up for you.
Keeping automation safe.
- A second username. IBKR allows one trading session per username. A second username just for the software keeps IBKR's own app and website free for you, and can be removed at any time.
- The right permissions. Stocks in the United States for US shares; the United Kingdom only if you want London shares. Nothing else is needed.
- No borrowing. On a cash or a margin account, blank only spends the account's own cash.
- Stops at the broker. blank's stop-losses rest at Interactive Brokers, so a closed laptop does not leave a position unprotected.
- An off switch. Stop in the app ends new trades at once; signing out of IBKR in blank cuts the connection completely.
Every setting, with where it is changed: recommended Interactive Brokers settings.
What full automation looks like day to day.
The advisor watches the market while the app is open, reads the news, decides what to buy and sell, sizes each order from the account's cash, sets the stop and writes down why. You read the reasons when you like, ask about any trade in the chat, and switch it off whenever you want. Trading involves risk, and an advisor can lose money as well as make it.
Automate the decisions, not just the orders.
Start in practice mode on virtual money, then go live on your Interactive Brokers account.
Join the beta