SABR Model
The SABR Model (Hagan, Kumar, Lesniewski and Woodward, 2002), short for stochastic alpha, beta, rho, lets the forward price follow a process whose volatility is itself random and correlated with it. Hagan et al. expand the implied volatility of a European option in the time to expiration, which gives a closed formula for the smile of one expiry. It is the standard smile model of the interest rate market and a common alternative for equities, and unlike local volatility it moves the smile in the same direction as the forward.
The formula for the SABR Model gives the implied volatility sigma(K) at the strike price K from the forward price F, \(F = S \cdot \exp ((r - q) \cdot T)\) with S the price of the underlying, r the continuously compounded risk free rate, q the continuously compounded dividend yield and T the time to expiration in years:
\[D = 1 + \frac{(1 - \beta)^{2}}{24} \cdot \ln\left(\frac{F}{K}\right)^{2} + \frac{(1 - \beta)^{4}}{1920} \cdot \ln\left(\frac{F}{K}\right)^{4}\] \[z = \frac{\nu}{\alpha} \cdot (F \cdot K)^{(1 - \beta)/2} \cdot \ln\left(\frac{F}{K}\right)\] \[x(z) = \ln\left(\frac{\sqrt{1 - 2 \cdot \rho \cdot z + z^{2}} + z - \rho}{1 - \rho}\right)\] \[I = \frac{\frac{(1 - \beta)^{2}}{24} \cdot \alpha^{2}}{(F \cdot K)^{1 - \beta}} + \frac{\rho \cdot \beta \cdot \nu \cdot \alpha}{4 \cdot (F \cdot K)^{(1 - \beta)/2}} + \frac{2 - 3 \cdot \rho^{2}}{24} \cdot \nu^{2}\] \[\sigma(K) = \frac{\alpha}{(F \cdot K)^{(1 - \beta)/2} \cdot D} \cdot \left(\frac{z}{x(z)}\right) \cdot (1 + I \cdot T)\]Where alpha is the initial volatility of the forward, beta between 0 and 1 the elasticity that sets the backbone (how the at-the-money volatility moves with the forward, 1 for a lognormal forward), rho the correlation between the forward and its volatility, which sets the skew, and nu the volatility of the volatility, which sets the curvature of the wings. At the money z / x(z) equals 1. The fit fixes beta, sets alpha so that the smile passes through the at-the-money volatility (West, 2005) and fits rho and nu per expiry. The expansion is accurate near the money and for short expirations; far in the wings and for long expirations it can imply a negative density, which is butterfly arbitrage.
Calibrate an implied volatility surface across multiple expiries: the smooth smile of each expiry that fits the market-implied smile (see get_implied_volatility), a raw SVI curve (Gatheral 2004) per expiry, an SSVI surface (Gatheral and Jacquier 2014) across all expiries at once, or a SABR smile (Hagan et al. 2002) per expiry.
The implied volatility of listed options differs by strike and by expiration: the smile, or skew, of one expiry and the term structure across expiries. The market quotes it only at the strikes and expirations that trade, with noise from wide bid-ask spreads, so a parametric model is fitted to the quotes. That gives a smooth surface that prices and interpolates options at strikes and expirations that do not trade, feeds local and stochastic volatility models, and shows where quotes are inconsistent with each other. A useful surface is free of static arbitrage: of butterfly arbitrage, where an option’s price would not be convex in the strike, and of calendar-spread arbitrage, where an option of a longer expiry would be worth less than the same option of a shorter one.
Also known as: SABR, SABR smile, SABR volatility, Hagan formula.
In the Finance Toolkit this is get_volatility_surface with method="sabr", the same function as Volatility Surface.
Example · JPM
Install the Finance Toolkit with pip install financetoolkit -U, then call get_volatility_surface:
from financetoolkit import Toolkit
toolkit = Toolkit(["JPM"], api_key="FINANCIAL_MODELING_PREP_KEY")
volatility_surface = toolkit.options.get_volatility_surface(method="sabr", number_of_expirations=4)
volatility_surface.loc["JPM"]
| Parameter | Type | Description | Example |
|---|---|---|---|
expiration_dates | list[str] | None | The expiration dates to fit the surface over. Defaults to None, meaning the first number_of_expirations expiration dates at least one calendar day away (those every ticker lists, if they share any). | ["2027-12-17", "2028-01-21"] |
put_option | bool | Whether to use put options instead of call options. Defaults to False. | True |
risk_free_rate | float | The risk free rate to use for the calculation. Defaults to None, which uses the Toolkit’s risk-free rate on the pricing date: the 10-year Treasury yield unless the Toolkit’s risk_free_rate parameter selects ‘13w’, ‘5y’ or ‘30y’, converted from its semi-annual bond-equivalent quote to continuous compounding. A rate passed here is used as given, as a continuously compounded rate. | 0.04 |
dividend_yield | float | The dividend yield to use for the calculation. Defaults to None, which uses the dividend yield on the pricing date (the dividends of the 365 days up to it relative to its close, as the continuously compounded ln(1 + q)). A given value is used as a continuous yield. | 0.02 |
number_of_expirations | int | The number of near-term expiration dates to fit when expiration_dates is not given. Defaults to 6. | 4 |
outlier_threshold | float | The number of median absolute deviations from the median implied volatility beyond which a quote is treated as an outlier and dropped before fitting. Defaults to 5.0. | 3.0 |
method | str | The smile model. Options are: “svi” (Stochastic Volatility Inspired Parametrization, raw SVI per expiry), “ssvi” (Surface SVI Parametrization, across the expiries), “sabr” (SABR Model, per expiry). Defaults to “svi”. | "svi" |
sabr_beta | float | The SABR elasticity \(\beta\) between 0 and 1, only used for the SABR method: 1 is a lognormal backbone, the usual choice for equities. Defaults to 1.0. | 1.0 |
show_parameters | bool | Whether to return the fitted parameters per ticker and expiration date instead of the surface. Defaults to False. | False |
rounding | int | None | The number of decimals to round the results to. Defaults to None. | 2 |
show_columns | str | list[str] | None | The columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column. | None, which keeps every column |
Which returns:
| Strike Price | 2026-12-11 | 2026-12-18 | 2026-12-24 | 2026-12-31 |
|---|---|---|---|---|
| 165.0 | 1.3635 | |||
| 170.0 | 1.3217 | |||
| 180.0 | 1.2406 | |||
| 185.0 | 1.2012 | |||
| 190.0 | 1.1624 | |||
| 195.0 | 1.1243 | |||
| 200.0 | 1.0868 | |||
| 210.0 | 1.0134 | |||
| 220.0 | 0.9419 | |||
| 230.0 | 0.8720 | |||
| 240.0 | 0.8033 | |||
| 245.0 | 0.7694 | |||
| 250.0 | 0.7357 | |||
| 255.0 | 0.7021 | |||
| 260.0 | 0.6687 | 0.5115 | ||
| 265.0 | 0.6354 | |||
| 270.0 | 0.6021 | 0.4660 | ||
| 275.0 | 0.5688 | |||
| 280.0 | 0.5356 | 0.4212 | ||
| 285.0 | 0.5023 | 0.3991 | ||
| 290.0 | 0.4610 | 0.4689 | 0.3774 | |
| 292.5 | 0.4444 | |||
| 295.0 | 0.4279 | 0.4354 | 0.3560 | |
| 297.5 | 0.4187 | |||
| 300.0 | 0.3953 | 0.4020 | 0.3354 | 0.3176 |
| 302.5 | 0.3792 | 0.3853 | ||
| 305.0 | 0.3635 | 0.3687 | 0.3157 | 0.3063 |
| 307.5 | 0.3481 | 0.3523 | ||
| 310.0 | 0.3334 | 0.3361 | 0.2975 | 0.2956 |
| 312.5 | 0.3196 | 0.3203 | ||
| 315.0 | 0.3070 | 0.3051 | 0.2817 | 0.2854 |
| 317.5 | 0.2961 | 0.2909 | ||
| 320.0 | 0.2874 | 0.2780 | 0.2695 | 0.2760 |
| 322.5 | 0.2813 | 0.2671 | ||
| 325.0 | 0.2782 | 0.2587 | 0.2619 | 0.2674 |
| 327.5 | 0.2781 | 0.2533 | ||
| 330.0 | 0.2805 | 0.2509 | 0.2596 | 0.2599 |
| 332.5 | 0.2852 | 0.2514 | ||
| 335.0 | 0.2915 | 0.2542 | 0.2622 | 0.2536 |
| 337.5 | 0.2991 | 0.2589 | ||
| 340.0 | 0.3076 | 0.2649 | 0.2686 | 0.2486 |
| 342.5 | 0.3167 | |||
| 345.0 | 0.3263 | 0.2795 | 0.2777 | 0.2450 |
| 350.0 | 0.3461 | 0.2961 | 0.2884 | 0.2429 |
| 355.0 | 0.3665 | 0.3136 | 0.3002 | 0.2421 |
| 360.0 | 0.3314 | 0.3125 | 0.2425 | |
| 365.0 | 0.3493 | 0.3251 | 0.2439 | |
| 370.0 | 0.4274 | 0.3670 | 0.3379 | 0.2461 |
| 375.0 | 0.4472 | 0.3846 | 0.3507 | |
| 380.0 | 0.4666 | 0.4019 | 0.3634 | 0.2525 |
| 385.0 | 0.4857 | 0.4189 | 0.3760 | |
| 390.0 | 0.4357 | 0.3885 | ||
| 395.0 | 0.4521 | |||
| 400.0 | 0.4683 | |||
| 405.0 | 0.4842 | |||
| 410.0 | 0.4998 | |||
| 415.0 | 0.5151 | |||
| 420.0 | 0.5302 | |||
| 425.0 | 0.5450 | |||
| 430.0 | 0.5595 | |||
| 435.0 | 0.5738 | |||
| 440.0 | 0.5879 | |||
| 445.0 | 0.6018 | |||
| 450.0 | 0.6154 | |||
| 455.0 | 0.6288 | |||
| 460.0 | 0.6421 | |||
| 465.0 | 0.6551 | |||
| 470.0 | 0.6679 | |||
| 480.0 | 0.6930 | |||
| 490.0 | 0.7175 |
70 rows
References
- Paper Hagan, P.S., Kumar, D., Lesniewski, A.S. and Woodward, D.E. (2002). “Managing Smile Risk.” Wilmott Magazine, September, 84-108.
- Paper West, G. (2005). “Calibration of the SABR Model in Illiquid Markets.” Applied Mathematical Finance, 12(4), 371-385.
- Library Referenced against QuantLib’s sabrVolatility (SABR Model)
- Library Shares similar logic as QuantLib’s SABRInterpolation (SABR Model)
- Library Shares similar logic as FinancePy’s SABR (SABR Model)
- Library Shares similar logic as rateslib’s IRSabrSmile (SABR Model)