Most problems are boring ones, like a dropped connection or a weekly login you forgot. Read this before your first live day, so you aren't reading it in the middle of one.
The first move
If a trade is open and you're not sure what's happening, hit the kill switch. Then open Interactive Brokers, look at the account, and close by hand anything still open that shouldn't be. Do it in that order so you and the bot aren't both sending orders at once. Write down the time and what you saw.
Internet or Interactive Brokers drops
The bot stops sending new orders straight away, tells you, and keeps trying to reconnect. Once it's back, it re-checks its fills, open orders and positions before it trades again. Stops and targets already at Interactive Brokers keep working in the meantime. The time exit and the end-of-day close need the bot connected, so if you're offline near the close with a trade open, fix the connection or close it by hand.
The prices stop, or look stale
No fresh data, no new trades. The bot can still close a position. If a data alert comes in, check your market data subscription and whether another login took the stream.
The bot doesn't make up a price to trade on, and a stop already at Interactive Brokers keeps working. Your spec says how many seconds without a price counts as stale, and how you're told.
You missed the weekly login
The bot can't reach Interactive Brokers, so it doesn't trade. Stops and targets already sitting there still work. Log in and approve on your phone, and if a trade was open, get it done before the close.
The computer goes to sleep, restarts or crashes
Usually it's a Windows update restarting the machine overnight. Turn off automatic restarts and turn off sleep. If the bot restarts mid-day, it reads your open orders, positions and fills again before it does anything, and picks up the orders it placed earlier. Don't restart it over and over to see what happens.
Orders you didn't place
The bot won't start while there are orders in your account it didn't place. Cancel leftovers from an old session in Interactive Brokers, decide what to do with any that are yours, then start it again.
A fill far from what you expected
Check the spread at that moment, because thin contracts and fast moves do this. It's the slippage from lesson 5. If it keeps happening, write down when each one happened and send me the list.
Sending me something useful
When the bot's acting up it can make a support file for you to send. The file holds your settings and logs, which can show your strategy and trades, and may still contain account or personal details. Check the file before you send it. Send it with the time and a line on what you saw and did. The address is on the contact page. Never send me your password or a login code. If you do by mistake, I won't use it, and you should change it right away.
Questions about this lesson
What do I do first if something looks wrong while a trade is open?
Hit the kill switch. Then open Interactive Brokers, look at the account and close by hand anything still open that shouldn't be. Write down the time and what you saw.
What happens if the prices stop or look stale?
With no fresh data the bot takes no new trades, though it can still close a position. Check your market data subscription and whether another login took the stream.
Why won't my automated bot start?
One reason is orders in your account that the bot didn't place, because it won't start while they're there. Cancel leftovers from an old session in Interactive Brokers, decide what to do with any that are yours, then start it again.
Check yourself
Your internet dies at 3:40 with a trade open. What protects the position and what doesn't?
The stop and target at Interactive Brokers still work. The time exit and final close need the bot connected, so reconnect or close by hand.
Why use the kill switch before closing by hand?
So the bot doesn't send its own orders while you're sending yours.
For education only, not financial advice. Prices in the worked examples are made up to show the arithmetic. Options can lose 100% of their value.
AwayTrader Bot Builds
Buy a bot
Pick the build by how many tickers the bot trades. The buttons open Whop, where you pay. Every build can be split into 3 or 6 payments.
Only want your rules backtested? The Backtest is $199 (day trades only, no written rules document). Compare the three Or send a free inquiry
For education only, not financial advice. Bot Builds is software built for your own Interactive Brokers account.