Project P03

Volatility surface: from quotes to models

How do we turn noisy option quotes into an arbitrage-free volatility surface and calibrated models that price and hedge products the market does not quote?

stages
8
duration
14 h 10 min
concepts
23
available in English
8 / 8
completed by you
0 of 8

Where it fits

Leads to

This completes the path.

Overview

A quantitative derivatives project building a library that cleans option chains, inverts implied volatilities to machine precision, detects static arbitrage, fits arbitrage-free SVI and SSVI surfaces, derives Dupire local volatility, and calibrates Heston using Fourier pricing. Simulate both models by Monte Carlo to show model risk in exotics, study smile dynamics and hedging, and conclude with deep calibration using a GPU-trained surrogate network for rough volatility.

Why it matters

The volatility surface is central to derivatives trading and a rich problem in applied stochastic calculus, combining no-arbitrage theory, numerical analysis, optimization, and deep learning. Building it from quotes requires a working command of Black-Scholes, Itô, Fourier methods, and Monte Carlo, and leaves you with a reusable quantitative tool.

Stages 8

  1. 01Quotes, implied forward and implied volatilitySet up daily option-chain capture using free tools for personal use and, in parallel, a synthetic surface generator with known parameters to validate the project. Clean quotes, extract implied forward and discount via put-call parity, and implement implied-volatility inversion accurate across strikes. GPUAdvanced100 min
  2. 02Static arbitrage and the risk-neutral densityFormulate static no-arbitrage conditions in prices and total variance, implement a detector that identifies vertical spreads, butterflies, and calendars with arbitrage in quotes, and obtain the risk-neutral density using Breeden-Litzenberger, checking when it ceases to be a density.Advanced90 min
  3. 03SVI, SSVI and arbitrage-free calibrationFit SVI by maturity using the quasi-explicit method that reduces the problem to two nonlinear parameters, then move to the SSVI surface and its sufficient no-arbitrage conditions and calibrate with constraints. The result is a continuous surface free of static arbitrage that interpolates and extrapolates in a controlled manner. GPUAdvanced110 min
  4. 04Dupire local volatility and Monte CarloDerive Dupire's formula in implied total variance, calculate local volatility from the SSVI surface, and simulate the model by Monte Carlo to check vanilla repricing. Examine why an arbitrage-free input surface is essential and how discretization error propagates. GPUAdvanced100 min
  5. 05Heston: characteristic function, Fourier pricing and calibrationDerive Heston's characteristic function, implement its stable form for the complex logarithm discontinuity, and price options using Carr-Madan and COS. Calibrate Heston to the surface with Levenberg-Marquardt in implied volatility and study parameter identifiability using synthetic surfaces. GPUAdvanced120 min
  6. 06Heston Monte Carlo and model risk in exoticsImplement Andersen's quadratic-exponential scheme for Heston, compare its bias with truncated Euler, and apply variance-reduction techniques. Price barrier and Asian options using two models calibrated to the same vanillas and measure their differences: the model risk that the vanilla surface does not resolve. GPUAdvanced110 min
  7. 07SABR, smile dynamics and hedgingImplement SABR with Hagan's approximation by maturity and study how the smile moves as the underlying moves. Simulate delta hedging of an option portfolio using different models and rebalancing frequencies, and decompose PnL into Greeks to understand the remaining risk. GPUAdvanced100 min
  8. 08Rough volatility and deep calibrationImplement rough Bergomi, which reproduces short-maturity skew but has no fast pricing formula, and calibrate it using a GPU-trained surrogate neural network on simulated surfaces. Calibration moves from hours to milliseconds and its fit is compared with Heston on the project's real snapshots. GPUResearch120 min

Final deliverable

Local volatility surface service

A daily pipeline that captures chains, calibrates SSVI, Heston, and rough Bergomi, checks arbitrage, stores parameter history, and publishes a local dashboard with the surface, diagnostics, and parameter evolution.

Check what you already know

  • Robustly invert implied volatility across the moneyness range and extract the forward from put-call parity
  • State static arbitrage conditions in total variance and obtain the risk-neutral density
  • Calibrate SVI by maturity and an arbitrage-free SSVI surface
  • Calculate Dupire local volatility from total implied variance
  • Price European options under Heston with the COS method while avoiding the complex logarithm branch trap
  • Train a volatility-model surrogate network and use it to calibrate in milliseconds

References

  • The Volatility Surface: A Practitioner's GuideJim Gatheral, 2006
  • Stochastic Volatility ModelingLorenzo Bergomi, 2016
  • Monte Carlo Methods in Financial EngineeringPaul Glasserman, 2003