Principle:Avhz RustQuant SABR Volatility
| Knowledge Sources | |
|---|---|
| Domains | Volatility_Modeling, Derivatives_Pricing |
| Last Updated | 2026-02-07 21:00 GMT |
Overview
The SABR (Stochastic Alpha Beta Rho) volatility model for computing implied volatilities that capture the market's volatility smile and skew.
Description
The SABR Volatility model in RustQuant implements the Hagan et al. (2002) approximation formula for implied volatility. The model is represented by the Sabr02 struct containing five parameters:
f-- The forward price of the underlying asset.alpha-- The initial volatility level ().beta-- The CEV (constant elasticity of variance) exponent (), controlling the backbone of the smile.rho-- The correlation between the asset and volatility processes ().nu-- The volatility of volatility ().
Special cases of :
- corresponds to the stochastic normal model.
- corresponds to the stochastic CIR model.
- corresponds to the stochastic lognormal model.
The library provides two main capabilities:
- Volatility computation -- The
volatility(k, t)method computes the SABR implied volatility for a given strikekand time to expiryt, suitable for input to the Black (1976) model. - Model calibration -- The
fit(volatilities, strikes, t)method calibrates the model parameters (, , ) to market data using particle swarm optimization via theargmincrate. The parameter is held fixed during calibration.
Additionally, a SABR stochastic process struct is available in the stochastics crate, defining the model parameters as ModelParameter types for potential use in Monte Carlo simulation.
Usage
Use the SABR Volatility model when pricing options across a range of strikes where the Black-Scholes assumption of constant volatility is insufficient. The model is the industry standard for interest rate derivatives, foreign exchange options, and equity index options where capturing the volatility smile and skew is essential for accurate pricing and risk management.
Theoretical Basis
The SABR model describes the joint dynamics of the forward price and its volatility :
with .
The Hagan et al. (2002) approximation for the implied Black volatility is:
where:
(absorbed into the coefficient/chi ratio in the implementation)
Calibration minimizes the root-mean-square error between model and market volatilities using particle swarm optimization with bounds , , and .