Optimal Execution — The Almgren-Chriss Framework
Companion notebook to the Optimal Execution article
(Optimal Execution, Module 1). Uses Python stdlib (math) and
numpy only — no external dependencies beyond Pyodide's bundled packages.
- §1 — Imports and named constants
- §2 — Optimal trajectory for a range of risk-aversion parameters; expected cost and variance
- §3 — Efficient frontier: sweep λ, compute (expected cost, std) pairs
- §4 — TWAP limit: verify λ→0 convergence analytically and numerically
- §5 — Validation summary: pass/fail for all article claims