Module 28

Quantitative Finance and Market Modeling

How can mathematics, statistics, and algorithms help us model markets, value assets, and make decisions under risk?

lessons
30
duration
53 h 45 min
concepts
178
available in English
30 / 30
completed by you
0 of 30

Where it fits

Overview

Work through four branches of quantitative finance. Study asset pricing with portfolios, CAPM, stochastic discount factors, and factor models. Price and hedge derivatives with binomial trees, Black–Scholes–Merton, Monte Carlo, PDEs, volatility surfaces, and stochastic volatility. Measure and validate risk with VaR, Expected Shortfall, and tail models. Study systematic trading through simulated order books, market impact, execution, signal research, and strategies. Build the models from scratch using synthetic data with known ground truth and freely accessible public sources. Evaluate results with realistic costs, purged validation, the deflated Sharpe ratio, and the probability of backtest overfitting.

Why it matters

Apply probability, statistics, optimization, and stochastic processes to financial decisions. Low signal-to-noise ratios make attractive backtests particularly easy to overfit. The module builds the skills to price and hedge derivatives, calibrate volatility surfaces, construct and validate portfolios and risk models, simulate order books, plan the execution of large orders, and test whether a strategy's apparent edge survives the research process. It also provides a test bed for modern machine learning under low signal, nonstationarity, and temporal leakage, and prepares you for the quantitative backtesting engine project.

Lessons 30

  1. 01Returns, prices and stylized facts of marketsA concise introduction to adjusted prices, simple and log returns, compounding, time aggregation, annualization, stylized facts, public data and a synthetic market with known dynamics.Review80 min
  2. 02Utility, risk aversion and performance measuresExplore expected utility, risk aversion, certainty equivalents, performance ratios, drawdown and the relationship between Kelly and Merton portfolio allocation.Core90 min
  3. 03Portfolio theory: mean-variance optimizationDerive the mean-variance frontier, global minimum-variance and tangency portfolios, two-fund separation and constrained portfolio optimization.Core100 min
  4. 04Estimation error: why Markowitz fails and how to fix itStudy estimation error in portfolio optimization and compare covariance shrinkage, spectral cleaning, resampling and equal weighting against known truth.Advanced110 min
  5. 05The CAPM: equilibrium, beta and its testsDerive CAPM, estimate alpha and beta, interpret the GRS test, and examine market proxies and empirical security market lines.Core95 min
  6. 06Arbitrage, state prices and the stochastic discount factorDerive finite-state no-arbitrage pricing, stochastic discount factors, risk-neutral probabilities, the Hansen-Jagannathan bound and approximate factor pricing.Core105 min
  7. 07Multifactor models: estimation, testing and risk modelsStudy multifactor pricing and risk models, Fama-MacBeth regressions, Fama-French factors and factor-based covariance estimation.Core110 min
  8. 08Factor investing, risk premia and the factor zooConstruct characteristic-sorted factors and examine their risks, multiple testing, replication, publication effects and trading costs.Advanced100 min
  9. 09Derivatives: forwards, futures, options and static arbitrageStudy discount curves, forward and futures contracts, option payoffs, put-call parity and static no-arbitrage bounds.Core90 min
  10. 10The binomial model and risk-neutral valuationReplicate and price options in binomial trees, exercise American options, study convergence and calculate tree-based Greeks.Core100 min
  11. 11Black-Scholes-Merton: hedging, PDE and change of measureDerive Black-Scholes from self-financing hedging and a change of measure, interpret its probabilities, and connect PDEs with pricing under alternative numeraires.Core115 min
  12. 12Greeks, dynamic hedging and option P&LDerive option Greeks, connect gamma and theta, attribute hedging P&L, and study discretization, jumps and transaction costs.Core100 min
  13. 13Monte Carlo pricing: exotics and GreeksPrice path-dependent options with Monte Carlo, variance reduction, Brownian bridges and simulation-based Greeks.Core110 min
  14. 14PDE pricing and American optionsPrice European and American options with finite-difference PDEs, projected SOR and independently evaluated Longstaff-Schwartz policies.Advanced115 min
  15. 15Implied volatility, arbitrage-free surfaces and local volatilityInvert option prices to implied volatility and study smile, risk-neutral density, SVI, surface arbitrage and Dupire local volatility.Core110 min
  16. 16Stochastic volatility, jumps and calibrationStudy Heston, jump-diffusion and SABR models, Fourier pricing, simulation, calibration and smile dynamics.Advanced120 min
  17. 17Risk measures: VaR, Expected Shortfall and their estimationDefine and estimate value at risk and expected shortfall, examine coherent risk and nonlinear positions, and allocate portfolio risk.Core105 min
  18. 18Extreme tails, risk model backtesting and stress testingEstimate extreme tails, backtest risk forecasts, compare VaR-ES predictions and optimize CVaR under scenarios.Advanced105 min
  19. 19Portfolio construction in practiceConstruct portfolios with risk parity, Black-Litterman views, hierarchical allocation, volatility targeting and trading costs.Advanced110 min
  20. 20Market microstructure I: the limit order book and its simulationExplore the market from within: limit and market orders, cancellations, the order book, price-time priority and the matching engine. Define spread, depth, midpoint and microprice, and build a book simulator with zero-intelligence order flow and a queueing model.Core115 min
  21. 21Market microstructure II: information, spreads and adverse selectionExplain spreads and the incorporation of private information through the Roll, Glosten-Milgrom and Kyle models; measure effective and realized spreads and examine adverse selection and other costs.Advanced100 min
  22. 22Market impact and order flow dynamicsStudy how orders move prices through order-flow imbalance, square-root impact, transient propagators and no-arbitrage conditions, and model self-exciting order arrivals with Hawkes processes.Advanced115 min
  23. 23Optimal execution and market makingStudy execution and market-making control through implementation shortfall, TWAP and VWAP, Almgren-Chriss, and inventory-aware Avellaneda-Stoikov and Guéant-Lehalle-Fernández-Tapia quotes in a book simulator.Advanced120 min
  24. 24Signal research: from data to evaluated forecastsFormalize alpha research through signal information coefficients, decay and turnover; relate skill, breadth and information ratio; and study neutralization, shrinkage, triple-barrier labels, meta-labeling and research logs.Core105 min
  25. 25Honest backtesting I: the engine, biases and costsBuild and evaluate backtests with vectorized and event-driven architectures, point-in-time data, leakage and survivorship checks, transaction costs, walk-forward validation, capacity and simulated book execution.Core120 min
  26. 26Systematic strategies and statistical arbitrageImplement and evaluate systematic momentum, carry, mean-reversion and statistical-arbitrage families, including cointegrated pairs, Ornstein-Uhlenbeck spreads, PCA residuals and shared risks.Core115 min
  27. 27Honest backtesting II: Sharpe ratio statistics and the deflated Sharpe ratioTreat Sharpe as a noisy estimator: derive standard errors under normality, higher moments and dependence; study probabilistic and deflated Sharpe, minimum track record, expected maxima, effective trials and haircuts.Advanced110 min
  28. 28Honest backtesting III: purged validation and the probability of backtest overfittingStudy validation under overlapping labels with purging, embargo and CPCV; measure selection overfitting with CSCV/PBO; and compare Reality Check, SPA and Romano-Wolf tests in controlled synthetic experiments. GPUAdvanced120 min
  29. 29Frontier I: machine learning in asset pricingSurvey machine learning for cross-sectional return prediction: penalized models, trees and networks, IPCA, conditional autoencoders, adversarial SDF estimation and complexity under weak signals and nonstationarity. GPUResearch115 min
  30. 30Frontier II: deep hedging, rough volatility and synthetic marketsExplore deep hedging with transaction costs, rough volatility and neural calibration, and synthetic market generators, with emphasis on independent validation and model risk. GPUResearch120 min

Module capstone

Quantitative research from a synthetic market to a risk report

Build a full pipeline for a synthetic market with known ground truth. Generate a factor-structured panel of 500 assets with planted finite-lived alphas, GARCH volatility with jumps and regimes, and a simulated order book combining Hawkes arrivals and zero-intelligence behavior for traded assets. Research and combine ten candidate signals. Construct the portfolio with covariance shrinkage and turnover control. Execute orders on the simulated book with an Almgren–Chriss schedule and measure implementation shortfall. Use an event-driven backtester with costs, walk-forward evaluation, and CPCV. Report the deflated Sharpe ratio, PBO, and minimum track-record length. Produce a risk report with filtered Expected Shortfall and VaR backtests. Calibrate Heston to a noisy synthetic volatility surface and compare delta, delta–vega, and deep hedging under transaction costs. Submit a complete trial log for the deflated Sharpe calculation and compare the recovered alphas with the planted ones.

Check what you already know

  • Convert between simple and log returns, annualize volatilities, and explain volatility drag
  • Calculate certainty equivalents for CARA and CRRA utility, the Sharpe ratio, maximum drawdown, and the continuous Kelly fraction
  • Derive the efficient frontier, global minimum-variance portfolio, and tangency portfolio with Lagrange multipliers
  • Explain why Markowitz optimization amplifies estimation error and apply Ledoit–Wolf shrinkage
  • Estimate CAPM alphas and betas and perform the GRS test
  • Prove the fundamental theorem of asset pricing in a finite market and relate CAPM to a linear stochastic discount factor
  • Estimate risk premiums by Fama–MacBeth with robust standard errors and build a factor risk model
  • Build long–short sorted factors and justify significance thresholds under multiple comparisons
  • Price forwards using financing costs, apply put–call parity, and identify violations of strike convexity
  • Price an American option in a CRR tree by backward induction
  • Derive the Black–Scholes equation from dynamic hedging and obtain the pricing formula by changing measure
  • Explain delta-hedging P&L using gamma and the difference between realized and implied volatility
  • Price an Asian option by Monte Carlo with a control variate and estimate Greeks using pathwise derivatives
  • Solve the Black–Scholes PDE with Crank–Nicolson and price an American put with projected SOR or Longstaff–Schwartz
  • Invert prices for implied volatilities and test a surface for static arbitrage
  • Price options under Heston using the characteristic function and calibrate the model
  • Estimate VaR and Expected Shortfall with filtered historical simulation and explain how VaR can violate subadditivity
  • Fit a generalized Pareto distribution to the tail and validate VaR with the Kupiec and Christoffersen tests
  • Construct risk-parity, Black–Litterman, and hierarchical risk-parity portfolios
  • Implement price–time matching and simulate a zero-intelligence order book
  • Derive the Kyle equilibrium and the Glosten–Milgrom spread
  • Explain the square-root impact law and estimate a Hawkes process by maximum likelihood
  • Solve Almgren–Chriss execution and Avellaneda–Stoikov optimal quoting
  • Evaluate a signal with its information coefficient and apply the fundamental law of active management
  • Detect look-ahead and survivorship bias and model transaction costs in a backtest
  • Model a spread as an Ornstein–Uhlenbeck process and derive pairs-trading thresholds
  • Calculate a deflated Sharpe ratio for the best of N tested strategies
  • Implement purged cross-validation with an embargo and estimate the probability of backtest overfitting (PBO)

References

  • Asset PricingJohn H. Cochrane, 2005
  • Options, Futures, and Other DerivativesJohn C. Hull, 2021
  • Stochastic Calculus for Finance II: Continuous-Time ModelsSteven E. Shreve, 2004
  • Monte Carlo Methods in Financial EngineeringPaul Glasserman, 2003
  • The Volatility Surface: A Practitioner's GuideJim Gatheral, 2006
  • Quantitative Risk Management: Concepts, Techniques and ToolsAlexander J. McNeil, Rüdiger Frey, Paul Embrechts, 2015
  • Trades, Quotes and Prices: Financial Markets Under the MicroscopeJean-Philippe Bouchaud, Julius Bonart, Jonathan Donier, Martin Gould, 2018
  • Algorithmic and High-Frequency TradingÁlvaro Cartea, Sebastian Jaimungal, José Penalva, 2015
  • Active Portfolio ManagementRichard C. Grinold, Ronald N. Kahn, 2000
  • Advances in Financial Machine LearningMarcos López de Prado, 2018
  • The Econometrics of Financial MarketsJohn Y. Campbell, Andrew W. Lo, A. Craig MacKinlay, 1997
  • Kenneth R. French Data LibraryKenneth R. French