Class SabrModel
java.lang.Object
com.quantfinlib.pricing.SabrModel
SABR stochastic volatility model: Hagan et al. (2002) lognormal implied
volatility approximation and smile calibration. With β fixed (market
convention), calibrates (α, ρ, ν) to observed strike/vol quotes — turning
VolSurface-style pillar smiles into a parametric, arbitrage-aware
fit that inter/extrapolates sensibly.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordCalibrated SABR parameters and the fit's RMSE in vol points. -
Method Summary
Modifier and TypeMethodDescriptionstatic SabrModel.Paramscalibrate(double f, double t, double beta, double[] strikes, double[] marketVols) Calibrates (α, ρ, ν) with β fixed, by seeded random search plus shrinking coordinate refinement (derivative-free, deterministic).static doubleimpliedVol(double f, double k, double t, double alpha, double beta, double rho, double nu) Hagan lognormal implied vol for forwardf, strikek, expiryt.
-
Method Details
-
impliedVol
public static double impliedVol(double f, double k, double t, double alpha, double beta, double rho, double nu) Hagan lognormal implied vol for forwardf, strikek, expiryt. -
calibrate
public static SabrModel.Params calibrate(double f, double t, double beta, double[] strikes, double[] marketVols) Calibrates (α, ρ, ν) with β fixed, by seeded random search plus shrinking coordinate refinement (derivative-free, deterministic).
-