How To Build An Automated Trading Robot In Excel
Learn how to use Visual Basic in Excel to automate your stock trading with Interactive Brokers. Includes trading system Ranger 1.0.
In this course from Peter Titus, you will learn how to build trading automation in Excel, the most popular spreadsheet software on the market. In Excel, there are no limits to what you can build. You are limited only by your imagination!
I was searching for a way to automate my trading systems with Interactive Brokers and couldn't find anything of substance. That's until I came across this training from Peter Titus. Peter is an excellent trader and this course details everything you need to get started creating automated trading systems in Excel. He even provides his own working trading system Ranger 1.0 for you to get started with. Thank you Peter!
-- Joe Marwood
The course is built around learning Visual Basic for applications (VBA) and we'll be examining a simplified version of the system I built for trading called Ranger 1.0.
We'll use this system as an example to show you how to build your own automation and how to hook it all up with the Interactive Brokers API.
After enrolling you will be able to download a copy of Ranger 1.0 for your own use. By the end of the course you will understand the code that runs Ranger 1.0 and be able to customize it to fit your ideas. You will also be able to use what you've learned to build your own automated system from the ground up, if that's what you choose to do.
The focus of this course is on trading stocks. It is possible to trade futures, currencies, options, and bonds through Ranger 1.0, but examples on how to trade these are not covered in detail.
By the end of this course you will have enough knowledge in Visual Basic to be able to create your own custom automation to trade whatever you want however you want.
The sky really is the limit. With excel, you really can build just about anything you can imagine.
This course will get you started using Visual Basic, even if you've never written any code before.
You will learn how to automate the order life cycle, how to build timers, play sounds, record live data, do backtesting, and even how to build a decision making AI!
Finally, I will guide you through everything you need to know to set up an account with Interactive Brokers, how to set up the Excel API, and how to trade using a simulated "Paper" trading account.
An Interactive Brokers account is required to receive live streaming data and to send orders, but even if you do not have an account, I will show you how to get historical data for excel that you can do backtesting on right away, and even get you started with a trading system (that you can optimize further) that is already profitable!
Screenshot of the Excel trading robot Ranger 1.0 in action. Learn how to build your own completely from scratch.
What am I going to get from this course?
- 42 lecutres and 4.5 hours of video content
- Learn how to trade and generate extra income even while you're away from the computer
- Understand the basics of the Interactive Brokers Excel API
- Learn how to build automation through sub procedures in Visual Basic
- Be able to automate any spreadsheet task with VBA
- Learn how to import data and do backtesting in Excel
- Start off with a basic trading system that is already profitable
- Download your own copy of Ranger 1.0
- Use Ranger 1.0 to automate your own trading right away
- Understand the code in Ranger 1.0 and be able to customize it to fit your own ideas
- Add your own functions and algorithms to Ranger 1.0
- How to import data and do back-testing in Excel
- How to automatically log trading data and automate setup procedures
- How to build a decision-making AI in Excel that thinks like a human
- How to run your system in automatic or manual mode
- How to keep your orders hidden from the market with order management
- How to set up trading alerts, timers and sounds
- Build YOUR OWN automated trading system in Excel from scratch
- Anyone interested in learning the basics of automated trading in Excel
- Anyone looking for ways to add automation to their trading routine
- Anyone who wants to build an automated trading system in Excel
- Anyone who wants to automate their trading with Interactive Brokers
Peter Titus graduated from the University of Wisconsin- Madison with an engineering degree in 2003. He has been actively trading stocks and options since 2006 and has been building automated trading systems in Excel using Visual Basic for Applications (VBA) since 2009. He specializes in day trading stocks and ETFs.
StartDownload Ranger1.0 here! (5:12)
StartCompile Error: Cannot Find Project or Library
StartHow to build a timer (8:41)
StartHow to schedule a task at a specific time (5:31)
StartHow to build an alarm and play sounds (4:51)
StartClearing cells and ranges (6:09)
StartAuto_Open and Worksheet_Calculate subs (2:23)
StartIntroduction to the Interactive Brokers Excel API (5:23)
StartHow to request live market data automatically (7:05)
StartHow to automate your daily setup tasks (13:35)
StartHow to send orders manually through Excel (3:36)
StartChecking for set up errors automatically (5:38)
StartHow to design your system to run in automatic or manual mode (7:15)
StartManaging the order life cycle (3:49)
StartHow to trigger orders and send them automatically (16:00)
StartSmart position sizing (12:49)
StartHow gains are calculated (smart position sizing continued) (6:46)
StartHow to insert price targets automatically (3:26)
StartPrice targets (17:15)
StartHow to automate stops (10:44)
StartConflicting subs: how to prevent them (5:03)
StartManual Position Exit (Force Exit Button) (1:49)
StartHow to automatically close positions near the end of the day (2:48)
StartOvernight positions and special situations (2:16)
StartHow to automatically log trading data (5:40)
StartHow to record live data tick by tick (15:52)
Frequently Asked Questions
Get started now!