edgekit

Algorithmic trading, end to end

A complete, math-grounded course: from what a market even is, through the probability and statistics that decide whether an edge is real, to building, testing, simulating, and shipping strategies. Every idea is made concrete with edgekit.

The series is built around one belief — most apparent edges are noise, so the skill that matters is testing. You'll learn the tools to tell a real edge from a lucky backtest: expectancy , the permutation test, walk-forward analysis, and Monte Carlo. Work through it in order, or jump to a topic.

How to read this
Chapters build on each other and are cross-linked with prev/next. Parts II and IV are the mathematical core; each math result is paired with a simulation and a runnable edgekit snippet so it never stays abstract.

Part I — Foundations#

Part II — The math#

Part III — Building strategies#

Part IV — Testing strategies#

Part V — Simulation & advanced#

Part VI — Mathematical toolkit#

Part VII — Derivatives & microstructure#

Part VIII — Advanced modeling & risk#

Part IX — Capstone#