A forty-three-part course in quantitative finance, in film and in code
Quant, Built
In 1900 Louis Bachelier wrote that the expectation of the speculator is zero. Pricing says that is exactly right, once you discount and change measure. Investing says it is not quite right: someone is paid to take the other side. The course is the argument between those two sentences, from a first random walk to the research frontier, and it builds its own quant firm along the way.
Contents
Each part opens as lecture notes: the text of every chapter, its key results, an interactive, a lab, problems with solutions and its reading. The label is the level at which a part can first be followed.
Act IMarkets and Money
What a price is, how a trade is made and settled, and what a share is a claim on.
Act IIThe Mathematical Toolkit
Martingales and measure, stochastic calculus, econometrics, time series and control: the language of the rest.
Act IIIDerivatives (Q)
Pricing by replication: from one-period arbitrage to the volatility surface, rates, credit and XVA.
Act IVReturn Premia (P)
What risk is paid, which factors are real, and how not to fool yourself with a backtest or a model.
Act VPortfolios, Strategies and the Firm
Turning forecasts into positions, positions into a book, and a book into a business.
Act VIMarket Microstructure
Who trades with whom, the order book, impact and execution, market making, and crypto's market design.
Act VIIThe System
Measuring risk, how leverage and liquidity turn losses into crises, and markets full of machines.
FinaleCan You Beat the Market?
The evidence, the arithmetic, and what the series built.
How to use the course
Each part is a 50-65 minute lecture built in code: derivations in full, models trained on screen, every number computed or cited. Its page carries the lecture as text, chapter by chapter, so you can follow along with the film or read it on its own.
One lab per part, on the series' own library, the House. Seeded, a few seconds each, no data to download. Each ends with three things to change.
Desk questions in the trading-interview tradition and a tiered problem set per part, the last two at qualifying-exam level, all with worked solutions.
Every part lists its textbook sections and papers, and what the literature has not settled.
Four tracks through the same material
Every chapter has a home level. A track is the set of chapters to watch at that level; on each part's page a button shows them.
Undergraduate
A first course in quantitative finance: the ideas, the pictures, the arithmetic.
28 parts · about 10 hoursMaster's
The derivations, models and numerical methods of a financial-engineering degree.
43 parts · about 35 hoursPhD
Each part's theorem in the literature's generality, its frontier, and open problems.
43 parts · about 43 hoursIndustry
How desks and funds use it, what it cost when it failed, and the interview questions.
43 parts · about 19 hoursWhat runs through all of it
The series' own quant firm, built desk by desk: about fifty tested modules in numpy and scipy, from Black-Scholes to a limit-order-book simulator. The labs call it; so do the films.
Every result says which measure it lives under. Prices and implied quantities are Q; forecasts, premia and realized quantities are P.
Research uses data to the end of 2020. A strategy is registered before a fresh test, with its costs and its count of trials; the course teaches the protocol and how little five years can prove.
Each idea is shown where it broke (1987, 1998, 2008, 2020, 2022) and in the hands of the firms whose business it is, from the public record.
The course in one picture
Setup
Run the labs (two minutes)
git clone https://github.com/Sir-Teo/explainer-videos.git
cd explainer-videos
pip install numpy scipy matplotlib numba
python -m videos.quant.labs 10 # Lab 10: delta hedging
python -m videos.quant.labs --all # all forty-threeBuild the films
bash tools/setup_linux.sh && source .venv/bin/activate
python -m explainer.quant.data # public market data, checksummed
python -m videos.quant.quant10.compute # Part 10's numbers
python tools/make.py quant10 # the narrated filmThe plan of record is SYLLABUS.md; the textbook coverage maps and every part's paper list are on the reading page. The films are in English and Chinese; each part's page carries its Chinese notes.