PROJECT 01
Daily price warehouse
SQLite / scheduled
| symbol | date | open | close |
|---|---|---|---|
| AAPL | 2026-08-20 | 230.41 | 234.12 |
| MSFT | 2026-08-20 | 507.22 | 509.78 |
| NVDA | 2026-08-20 | 181.06 | 183.44 |
5,700
symbols
OHLCV
history
Daily
updates
Turn a trading idea into rules, test it against historical data, and automate paper trades. Follow the Masterclass’s recorded lessons from Python foundations to a complete momentum bot, with code you can run and adapt.
$599 once. Immediate access to the complete course.
New to Python? Start with the foundations. Already coding? Jump into market data, backtesting, and trading automation.
momentum_backtest.ipynb
In [12]: run_backtest(strategy, prices)
return
24.8%
drawdown
-9.6%
trades
148
Out [12]: costs applied, no lookahead flags
paper orders
| time | symbol | side | status |
|---|---|---|---|
| 09:31:04 | SPY | buy | filled |
| 09:31:08 | TLT | sell | filled |
| 09:32:11 | GLD | hold | checked |
“As a beginner in algorithmic trading, I was surprised how quickly it was possible to automatically backtest a trading strategy and to create a trading bot in Python. The bot already works and executes orders (on a demo account).”
“I recently joined the Python for Traders course, and I have to say it's one of the best structured and professionally presented courses I've come across in the trading space. The content is well-organized, making it much easier to apply Python to real trading scenarios.”
Build a market-data database, a backtest report, a broker connection, and a complete paper-trading bot.
PROJECT 01
SQLite / scheduled
| symbol | date | open | close |
|---|---|---|---|
| AAPL | 2026-08-20 | 230.41 | 234.12 |
| MSFT | 2026-08-20 | 507.22 | 509.78 |
| NVDA | 2026-08-20 | 181.06 | 183.44 |
5,700
symbols
OHLCV
history
Daily
updates
PROJECT 02
A repeatable process for measuring performance and checking the mistakes that can make a result look better than it is.
PROJECT 03
PROJECT 04
config.py
UNIVERSE = 500
POSITIONS = 20
MAX_WEIGHT = 0.05
PAPER = True
Start with Python, then work through trading concepts, market data, broker APIs, backtesting, and the final bot project. Expand a section to see the lesson titles.
Section 1
17 lessons
A working research environment and your first market-data notebook.
Set up Python, notebooks, packages, and the core libraries used for market work.
Section 2
9 lessons
A framework for turning a trading idea into a testable rule.
Learn where systematic returns can come from and what the main strategy families are testing.
Section 3
15 lessons
A reusable SQLite warehouse with daily prices for 5,700 stocks.
Design a database, build the data pipeline, and put daily updates on a schedule.
Section 4
9 lessons
A broker layer connected to an Alpaca paper-trading account.
Read account data, positions, and quotes, then submit market and limit orders through an API.
Section 5
9 lessons
A backtest with performance reporting and bias checks.
Measure returns and risk, include costs, catch common biases, and test on a hosted engine.
Section 6
6 lessons
A complete momentum bot that runs through a paper-trading workflow.
Combine the data, signal, portfolio, risk, and execution pieces in one final project.
66 self-guided lessons, including 64 videos totaling about 13 hours, with code examples and 15 downloadable references.
Use Python and pandas for research, yfinance for market data, QuantConnect for hosted backtests, and Alpaca for paper trading.


Work through a complete trading project, then change the data, the dates, or the strategy rules. Understand each piece well enough to make it your own.
Start with Python foundations or go straight to the topics you need. Every section is available as soon as you join.
Build the skills to research a strategy, evaluate the results, and automate paper trades—with the complete Masterclass to guide you.
$599
One payment. Immediate access to every section.
$599
One payment. Full access.