Heston Stochastic Volatility Option Pricing Lab
Simulate the Heston (1993) stochastic volatility model. Solve European options via characteristic function Fourier inversion, generate the market volatility smile and skew, verify CIR variance dynamics and Feller conditions, and compare against Black-Scholes.
1. Asset & Stochastic Vol Parameters
Contract Terms & Spot Asset
CIR Variance Process ($v_t$)
2. Heston Fourier Valuation & BS Comparison
FELLER SATISFIEDHeston Integration Components: C = S0 e-qT P1 - K e-rT P2
| Component | Analytical Role | Value | Description |
|---|---|---|---|
| Risk-Neutral Prob P1 | Asset measure probability S_T > K |
0.6605 | Delta equivalent probability under the stock numeraire |
| Risk-Neutral Prob P2 | Money-market probability S_T > K |
0.6092 | Standard risk-neutral probability of finishing in-the-money |
| Variance Half-Life (t1/2) | ln(2) / κ |
0.35 yrs | Time for volatility shocks to mean-revert 50% toward θ |
| Put-Call Parity Check | Call - Put ≡ S_0 e^{-qT} - K e^{-rT} |
$0.0000 | Exact arbitrage-free parity verified to 4 decimal places |
3. Implied Volatility Smile & Skew
4. Strike Schedule & Implied Volatility
Inverted BS IV| Strike ($K$) | Moneyness | Heston Call | Heston Put | Implied Vol (σBS) |
|---|
5. Sensitivity: Correlation (ρ) vs. Vol-of-Vol (ξ) on 90% OTM Put Price ($)
6. Sensitivity: Mean Reversion (κ) vs. Long-Run Vol (σ̄) on ATM Call ($)
7. Heston Stochastic Volatility Mathematics & Fourier Inversion
The Bivariate Diffusion Model
Published in The Review of Financial Studies in 1993 by Steven L. Heston, the model describes the simultaneous stochastic evolution of the stock price and its variance:
dv_t = κ (θ - v_t) dt + ξ √v_t dW_t^v
Corr(dW_t^S, dW_t^v) = ρ dt
Here, κ is the mean-reversion speed, θ is the long-term equilibrium variance, ξ is the volatility of variance (vol-of-vol), and ρ is the instantaneous correlation between asset returns and volatility shocks.
The Feller Condition for Variance Non-Negativity
Just like in the CIR interest rate model, William Feller's boundary condition determines whether variance can reach zero:
When 2κθ ≥ ξ², the origin is inaccessible, ensuring v_t > 0 strictly. When violated, zero is an instantaneously reflecting boundary.
Gil-Pelaez Fourier Inversion Pricing
By applying the Feynman-Kac theorem to the risk-neutral valuation PDE, Heston demonstrated that the option price decomposes into two probabilities:
Each probability Pj is computed by inverting the characteristic function fj(φ; ln S0, v0) via the Gil-Pelaez (1951) inversion formula:
Using the numerically stable formulation of Albrecher et al. (2007) avoids multi-valued complex logarithm branch cuts, guaranteeing unconditionally stable numerical integration.
8. Heston Model Mastery Self-Assessment Quiz
9. Related Quantitative Finance & Derivatives Labs
Black-Scholes Calculator Lab
Benchmark constant-volatility analytical Greeks, European payoffs, and early exercise limits.
CRR Binomial Option Lab
Price American equity options, discrete dividend steps, and early exercise frontiers.
CIR Model Simulation Lab
Explore the identical square-root diffusion process used for Heston's variance equation.