Pricing a European Swaption with SABR#

A European swaption is priced with the Black-76 formula, and the volatility that goes into it comes from the SABR smile. SABR does not price the swaption. It supplies the one input of Black-76 that the market does not agree on, which is the volatility at the strike. This page puts the steps from the earlier pages in one place and runs them on one swaption.

The flow#

  1. Curve. Bootstrap the curve and compute the forward swap rate \(F\) and the annuity \(A\) of the underlying swap. See Interest Rate Curve Build, Part 1: Instruments & Bootstrapping.

  2. Quotes. Take the market volatilities at the quoted strikes for the expiry and tenor. See Swaptions and the Black-76 Model.

  3. Calibrate. Fix \(\beta\), and fit \(\alpha\), \(\rho\) and \(\nu\) so that the model volatility matches the quotes. This is done once for each expiry and tenor. See SABR: Modelling the Volatility Smile, and SABR Backbone for the choice of \(\beta\).

  4. Volatility at the strike. For the strike \(K\) of the trade, evaluate Hagan’s formula, \(\sigma_B(K)\), with the fitted parameters. See Hagan’s Approximation: From SABR to a Black Volatility.

  5. Price. Put \(\sigma_B(K)\) in the Black-76 formula, with \(F\), \(A\), \(K\) and \(T\):

\[\text{Payer}(K) = A\left[F\,\Phi(d_1) - K\,\Phi(d_2)\right], \qquad d_{1,2} = \frac{\ln(F/K) \pm \tfrac{1}{2}\sigma_B(K)^2 T}{\sigma_B(K)\sqrt{T}}\]

A different strike has a different volatility, so each strike is priced with its own \(\sigma_B(K)\). Black-76 is the same at every strike, and the smile enters only through the volatility.

digraph sabr_to_black { rankdir=LR; node [shape=box, style=rounded, fontsize=10]; quotes [label="Market vols\nat quoted strikes"]; sabr [label="SABR fit\nalpha, rho, nu"]; hagan [label="Hagan formula\nvol at strike K"]; black [label="Black-76\nprice"]; curve [label="Curve\nF and annuity A"]; quotes -> sabr -> hagan -> black; curve -> black; curve -> hagan [style=dashed]; }

What the smile changes#

If the at-the-money volatility were used for every strike, the prices would be wrong away from the money. SABR raises the volatility at low strikes and lowers it at high ones, so the price of a low-strike payer goes up and that of a high-strike payer goes down, compared with the flat volatility. The prices differ most where the smile is steepest.

The same smile fixes the price of the receiver. By put-call parity, a payer less a receiver is a forward swap, and the parity does not depend on the volatility. The check is still useful, because a break shows a bug in the forward, the annuity or the strike. See Swaptions and the Black-76 Model.

Worked example#

The example calibrates SABR to the 5Y x 5Y quotes of SABR: Modelling the Volatility Smile, and prices a payer swaption of 100 million at seven strikes. Three are quoted (-200, 0 and +200 basis points) and four are not (-150, -75, +75 and +150). It compares the price with the SABR volatility against the price with the flat at-the-money volatility. It also checks put-call parity at a strike off the money, and compares the delta with and without the volatility moving with the forward.

Python code
"""Price European swaptions with Black-76, using the volatility from a calibrated SABR smile."""
import numpy as np

from curve_example import bootstrap, forward_swap
from sabr_example import calibrate, sabr_black_vol
from swaption_example import black_price

NOTIONAL = 100e6

if __name__ == "__main__":
    curve = bootstrap()
    expiry, tenor, beta = 5.0, 5, 0.5
    forward, annuity = forward_swap(curve, expiry, tenor)

    # Step 1: calibrate SABR to the quoted smile. The parameters are alpha, rho and nu, with beta fixed.
    quote_offsets = np.array([-200, -100, -50, 0, 50, 100, 200])
    quote_strikes = forward + quote_offsets / 1e4
    quote_vols = np.array([0.3560, 0.3040, 0.2830, 0.2680, 0.2600, 0.2540, 0.2480])
    (alpha, rho, nu), _ = calibrate(forward, quote_strikes, quote_vols, expiry, beta)
    print(f"Forward swap rate {forward:.4%}, annuity {annuity:.4f}")
    print(f"SABR: beta {beta}, alpha {alpha:.4f}, rho {rho:+.3f}, nu {nu:.3f}\n")

    def sabr_vol(f, k):
        return float(sabr_black_vol(f, k, expiry, alpha, beta, rho, nu))

    # Step 2 and 3: SABR gives the Black volatility for the strike, and Black-76 turns it into a price.
    atm_vol = sabr_vol(forward, forward)
    print(f"{'Offset':>7} {'Strike':>7} {'SABR vol':>9} {'Payer, SABR':>13} {'Payer, flat':>13} {'Difference':>11}")
    for bp in (-200, -150, -75, 0, 75, 150, 200):
        strike = forward + bp / 1e4
        vol = sabr_vol(forward, strike)
        with_smile = NOTIONAL * black_price(forward, strike, vol, expiry, annuity, payer=True)
        flat = NOTIONAL * black_price(forward, strike, atm_vol, expiry, annuity, payer=True)
        print(f"{bp:+6d}bp {strike:7.3%} {vol:9.2%} {with_smile:13,.0f} {flat:13,.0f} {with_smile - flat:+11,.0f}")

    # Put-call parity holds with any one volatility for the strike, as the smile does not change it.
    strike = forward + 0.0075
    vol = sabr_vol(forward, strike)
    payer = black_price(forward, strike, vol, expiry, annuity, payer=True)
    receiver = black_price(forward, strike, vol, expiry, annuity, payer=False)
    print(f"\nParity gap at {strike:.3%}: {abs(payer - receiver - annuity * (forward - strike)):.2e}")

    # Delta for +1bp on the forward: Black alone holds the volatility, SABR lets the volatility move with the
    # forward, with alpha, beta, rho and nu unchanged. The difference is the backbone.
    bump = 1e-4
    atm = lambda f, k, v: NOTIONAL * black_price(f, k, v, expiry, annuity, payer=True)
    black_delta = atm(forward + bump, forward, atm_vol) - atm(forward, forward, atm_vol)
    sabr_delta = atm(forward + bump, forward, sabr_vol(forward + bump, forward)) - atm(forward, forward, atm_vol)
    print(f"ATM payer delta per +1bp: Black {black_delta:,.0f}, SABR {sabr_delta:,.0f}")

The output is:

Forward swap rate 3.8700%, annuity 3.7397
SABR: beta 0.5, alpha 0.0512, rho -0.112, nu 0.307

 Offset  Strike  SABR vol   Payer, SABR   Payer, flat  Difference
  -200bp  1.870%    35.71%     8,232,694     7,806,624    +426,070
  -150bp  2.370%    32.47%     6,790,273     6,392,532    +397,741
   -75bp  3.120%    29.13%     4,912,960     4,691,850    +221,110
    +0bp  3.870%    27.00%     3,433,647     3,433,647          +0
   +75bp  4.620%    25.71%     2,352,906     2,519,611    -166,705
  +150bp  5.370%    24.98%     1,608,546     1,859,321    -250,776
  +200bp  5.870%    24.71%     1,255,446     1,524,252    -268,806

Parity gap at 4.620%: 1.04e-17
ATM payer delta per +1bp: Black 23,165, SABR 21,586

Reading the output:

  • At the money, the two prices are equal. The flat volatility is the SABR at-the-money volatility, 27.0%, which is the number used in the Black example of Swaptions and the Black-76 Model.

  • Away from the money, the smile matters. A payer at 150 basis points below the forward is worth about 398,000 more than the flat volatility gives, which is 6% of the flat-volatility price. At 150 basis points above it is worth about 251,000 less, which is 13%.

  • Strikes with no quote are priced. The four strikes at -150, -75, +75 and +150 basis points are between the quotes, so SABR interpolates the smile there. These prices come from the model and not from the market, and this is where a reserve is held. A strike beyond the last quote would be an extrapolation, which is less reliable.

  • Parity holds to rounding, because the same volatility is used for the payer and the receiver at a strike.

  • The delta depends on the smile. With the volatility held, the delta of the at-the-money payer for a 1 basis point rise in the forward is 23,165. When the volatility moves with the forward, as the SABR backbone says that it does, the delta is 21,586, which is 7% lower. The price is the same and the hedge is not. See SABR Backbone.

A valuation control view#

  • Reproduce the price in two steps: the volatility from the independent SABR fit and the price from an independent Black-76. A break in the first step is a calibration difference, and in the second is a convention difference, such as the annuity, the day count or the forward.

  • Check the volatility, not only the price: the SABR volatility at the strike is compared with the desk’s volatility and with the consensus. Strikes between the quotes are a test of the interpolation, and strikes beyond them are a test of the extrapolation.

  • Check the inputs of the calibration: \(\beta\) and any shift are the same as the methodology states, and the fit errors at the quotes are within tolerance. See SABR: Modelling the Volatility Smile.

  • Report the delta with the smile: a risk report that holds the volatility fixed shows a different delta from one in which the volatility moves, and the hedge follows the second.

  • Reserve the unquoted strikes: the price at a strike with no quote rests on the model. The reserve, the prudent valuation adjustment and the level depend on how far the strike is from the nearest quote. See Prudent Valuation: Requirements and Fair-Value Hierarchy: Levels 1, 2 & 3.