Skip to content
UdemyTrading & InvestingPaid courseAll LevelsCertificate

Create Your Own Automated Stock Trading Robot In EXCEL! (Udemy.com)

Learn how to use Visual Basic in Excel to automate your trading!

Created by: Peter Titus

Last updated June 2026

Our take

Based on the ratings of 350 students, a sample of their written reviews and the syllabus, as the course stood in June 2026. No course pays to be reviewed.

Peter Titus, an engineer who has built Excel trading systems since 2009, teaches VBA by taking apart Ranger1.0, a simplified version of his own day trading sheet. Students download it, and about three of the course's 4.7 hours go to explaining how it works: orders, timers, sounds, live data and backtesting. It needs Windows and Excel 2010 or newer. Live data and orders need an Interactive Brokers account, but paper trading and historical backtesting work without one. It really suits traders who already know Excel.

Reviewers keep coming back to the Ranger sheet itself. One breakout trader said it was close to his style out of the box, and another called the course a good starting point for the IB TWS API. Several warn the material comes in big chunks and takes repeat viewing. The complaints are real, though. Older reviews say the audio is muddy, others call the delivery boring and the lectures poorly organized, and one programmer found the VBA section too thin to help beginners or experts. A non-native speaker said the captions were full of errors.

The course first came out in 2015 and got its latest update in June 2026. It holds a 4.2 rating from 350 reviews, and 36 of those are one or two stars. For IB traders who want Excel automation, reviewers say the template alone justifies the purchase. Just plan to sharpen your VBA somewhere else afterward.

Best forExcel-savvy traders on Windows with an Interactive Brokers account who want a working VBA template to adapt.
Skip it ifYou want Python-based algo trading, use a Mac, or need a polished, beginner-friendly intro to coding.

Pros

  • Includes Ranger1.0, a working Excel trading sheet you can download, run and modify
  • Covers the Interactive Brokers Excel API setup and paper trading step by step
  • Shows how to pull historical data and backtest even without a broker account
  • Taught by a trader active since 2006 who has built Excel VBA trading systems since 2009

Cons

  • Older reviews complain about muddy audio and a dry, slow delivery style
  • The VBA primer is thin, and reviewers say the lectures could be tighter and better organized
  • Windows and Interactive Brokers only, with no worked multi-indicator strategy example
You get a very good introduction of how to automate the TWS with Excel. You may want to deepen your VBA skills afterwards because the code is not the perfect beauty however it serves the purpose and the lectures are not too difficult.
Kai F. Duggen, a student

Labeled All Levels, but it assumes solid Excel and some trading knowledge. Total coding beginners will find the VBA part thin.

icon
What you will learn

  • Be able to trade and generate extra income even while you're at work or 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
  • Download your own copy of Ranger 1.0
  • Use Ranger1.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 Ranger1.0
  • Build YOUR OWN automated trading system in Excel from scratch

Course content

4 sections · 44 lectures · 4.7 hours of video 5 articles

  1. 1Introduction to Automated Trading 2 free previews5 lectures · 14 min
  2. 2Using Visual Basic for Applications (VBA) 1 free preview4 lectures · 34 min
  3. 3Ranger 1.0 functionality26 lectures · 3 hours
  4. 4Extras9 lectures · 57 min

Who it is for

The instructor says it suits

  • 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

What you need before you start

  • You should already be familiar with Excel
  • Trading experience is useful, but not required
  • Computer, internet connection, Excel 2010 or newer, Microsoft Windows
  • You will need $10,000 to open a margin account and $5,000 to open an IRA account with Interactive brokers.

How it compares

Against the other 299 rated Udemy courses in Trading & Investing on CourseDuck:

  • Rating4.2 out of 5higher than 10% of them
  • Reviews350#177 of 300 by number of reviews
  • Length4.7 hourslonger than 52% of them
  • Last updatedJune 2026more recently than 62% of them

icon
Course Description

In this course 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! 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 Ranger1.0. We'll use this system as an example to show you how to build your own automation. Every student will be able to download a copy of Ranger1.0 for their own use. By the end of the course you will understand the code that runs Ranger1.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 Ranger1.0, but examples on how to trade these are not covered in detail. However, 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 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!

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Peter Titus

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.

icon
More Trading & Investing courses

$11.99

Original price $64.9982% off

$11.99

Original price $69.9983% off

$64.99

$16.99

Original price $119.9986% off

$15.99

Original price $119.9987% off

$11.99

Original price $64.9982% off

icon
Reviews

4.2

350 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Benny B on 5/25/2026

interesting to use Excel to trade thru IBX. I really like the course. Some information is feed in big scoops, so be prepared to revisit video sections and learn. This is a course you don't want to rush, because if you do it wrong, you could loose a lot of money. Best to use a paper trading account until your sure what is happening and have some experience.

By Mark Edwards on 12/5/2021

I am an experienced day trader, primarily long using breakouts to trigger trades. I had been looking for a while to automate my trading with Excel but due to lack of coding skill was struggling. Ranger 1.0, "out of the box" is as close to my trading style as I could have hoped for and after watching the course I expect to be able to build my own trading algorithms. (in particular trailing stops to stay in the trades longer).

By Mandy Ow on 6/6/2020

This course is of amazingly good value due to the Ranger Excel Sheet provided (which automates many tasks) and is well worth the price of the course and more. To pay someone to code it will probably cost you hundreds of dollars or more! The delivery is a little boring, I agree, but if you are serious about automating your trading, this is a rare gem of a course and a solution as well. And you would sit through it (and not complain!) Not suitable for non-serious students, or if you don't have a burning desire to automate your trades, this course really isn't for you-

By Dmytro Sheyko on 11/22/2019

quite poor introduction to VBA, for experienced programmers it's useless, while for beginners I suspect it doesn't make things clear. it had better to state fairly that being familiar with VBA is required for this course and skip section 2 altogether.

By Kai F. Duggen on 11/15/2019

You get a very good introduction of how to automate the TWS with Excel. You may want to deepen your VBA skills afterwards because the code is not the perfect beauty however it serves the purpose and the lectures are not too difficult.

By Paul Blanchard on 7/11/2019

I know VBA and this course is perfect for me because I can design things - this is not important in the way of obtaining a system because there are a lot of systems that are great right off the shelf. It is important because I can become involved, and thus very motivated to learn everything I can and to trade right.

By Oscar Jiménez on 9/30/2018

Debería de profundizar y explicar mejor como usar la API, actualizar la explicación ya que las versiones han cambiado y dan errores que no se explican

By Adam Bennett on 12/28/2017

This course covered the infrastructure of Excel based automated trading and the Visual Basic building blocks that make it work. After completion you understand where your ideas can be developed and plugged into the code. If you are an Excel user wanting a practical example of Excel visual basic functionality used in a real world project, this course will leave you with a working understanding that can be adapted to other projects as well.

By Maurice Joel Madoc on 8/7/2017

Uitleg is matig

By Aleksey Mashnitskiy on 7/3/2017

Great course so far; I was able to expand on using Ranger to semiautomate my trading so far. With this course, some Excel VBA knowledge is very helpful. Peter does a decent job in the first part of the course explaining some of the often used code in his Ranger program.

Showing all 10 reviews on CourseDuck

Read all 350 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 84 / 100