Genie's Crash Course

A trading day with a bot

Lesson 6 of 113 min read

You still pay attention with a bot. It's just at set times, and to different things. There are checks in the morning, little to do during the day and a check after the close. Times below are Eastern.

Morning, before 9:30

Start with the machine. It should be on and not set to sleep, with the Gateway running and logged in. Most days the Gateway logs back in by itself after its daily restart. Once a week it needs your password and your phone, and the bot alerts you when that day comes.

Then the account. Look in Interactive Brokers for orders or positions the bot didn't place. It won't start with stray orders in the account, since it can't tell yours from leftovers. Check the kill switch is off and the bot says paper or live, whichever you meant. Start it and wait for the start alert. No alert means something's wrong with the bot or the alerts, and you want to find that out before 9:30.

Glance at the calendar too. The bot handles holidays and half days (the market closes at 1:00 on those), but you should know when they are.

During the day

Mostly, stay out of the way. Interactive Brokers lets one login stream live prices at a time. Open Trader Workstation or the phone app on the same login while the bot runs and you can knock out its prices, and then it stops trading. Wait for the alerts instead.

Don't trade the bot's ticker by hand. The bot keeps track of what it holds, and a position it didn't open looks like a problem, so it may stop. Leave the settings alone mid-session, and don't change a rule because the morning went badly. Rule changes happen at night, on purpose, as a spec change.

A fill alert doesn't need anything from you. An alert about a lost connection, bad data or a limit does.

After the close

Give it until a few minutes past 4:00, then check the bot is flat: no positions and no working orders, in its own record or at Interactive Brokers. Read the day's trades (lesson 8 covers how). Anything odd goes in a notebook with the date. Leave the computer on until the end-of-day alerts have landed.

The daily checklist

  1. Computer awake, internet working, Gateway logged in.
  2. No orders or positions in the account that the bot didn't place.
  3. Kill switch off. Mode (paper or live) is the one you intend.
  4. Bot started and the start alert arrived.
  5. Nothing manual on the bot's ticker, and no second login streaming.
  6. After 4:00: flat, no open orders, end-of-day alert received.
  7. Trades read and checked against the spec. One line in the notebook.

Questions about this lesson

What should I check in the morning with an automated bot?

The computer should be on, with the Gateway running and logged in. The account should have no orders or positions the bot didn't place. Check that the kill switch is off and the mode is the one you meant, then start the bot and wait for the start alert.

Can I use the Interactive Brokers app while an automated bot runs?

Stay off the bot's login while it runs. Interactive Brokers lets one login stream live prices at a time, so the phone app or Trader Workstation on that login can knock out the bot's prices, and then it stops trading.

Should I change a trading rule in the middle of the day?

No. Leave the settings alone mid-session. Rule changes happen at night, on purpose, as a spec change.

Check yourself

It's 9:20 and the bot won't start. What's the first thing to look at?

Your account, for orders it didn't place. That's the most common reason. Then the Gateway login.

You open the Interactive Brokers phone app on your login at 11:00 to look at your balance. What can go wrong?

It can take over the price stream, and the bot stops trading because it has no data.

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.