Interest Rate Correlation, Part 6: Smile & Spread Smile#
The spread formula of Interest Rate Correlation, Part 1: Correlation as a Pricing Parameter uses one volatility for each swap rate. The market quotes a smile for each: the volatility depends on the strike. A spread option can end in the money when one rate is far from its forward, so it depends on the wings of both smiles. This page sets out how the two smiles can be combined into a distribution of the spread, and what the smile adds. It is the sixth of seven pages.
From two smiles to a spread#
The swaption smile of each rate (Interest Rate Volatility, Part 3: SABR Model & Calibration), read from the swaption cube for its expiry and tenor (Interest Rate Volatility, Part 7: The Swaption Cube), fixes its marginal distribution. A smile determines the price of a call for every strike, and the second derivative of the call price in the strike is the density of the rate. The marginals say nothing about how the two rates are linked, and that needs a dependence structure.
A common one is the Gaussian copula. Draw two normal variables with correlation \(\rho\), convert each to a uniform number with the normal distribution function, and convert each uniform number to a swap rate with the inverse of its own marginal distribution function. The marginals are exactly those of the smiles, and the link between them has one parameter, \(\rho\). The spread is then the difference of the two rates, and the option is priced by simulation.
When the marginals are normal, the copula gives the jointly normal model of Interest Rate Correlation, Part 1: Correlation as a Pricing Parameter exactly. This is a useful test of the machinery.
Other approaches exist. Published work on CMS spread options derives a normal SABR representation for the spread itself, from the normal SABR models of the two rates, which gives a smile for the spread without simulation. The copula is simpler, and it shows what the smiles do.
What the copula assumes#
The Gaussian copula has no tail dependence: however high the correlation, extreme moves in the two rates become independent as they get more extreme. Real rates are probably more dependent in the tails than that. The correlation is a single number that describes the centre of the joint distribution, and a different number is needed to describe the tails. A price that is calibrated in the centre can then be wrong in the wings.
The marginal smiles must also be free of arbitrage. A smile with a negative implied density cannot be used, and the density has to be checked at strikes far from the money, where a fitted smile can fail.
Worked example#
The example gives each rate a normal volatility smile: 105bp for the 2-year and 88bp for the 10-year at the money, a small skew and a curvature, invented. It checks that the implied densities are positive, and simulates two million pairs of swap rates by a Gaussian copula, with the marginals from the smiles. It prices the spread option with flat volatilities by the formula, with flat volatilities by the copula, as a test, and with the smiles. It repeats the pricing for strikes from -50bp to +150bp at a correlation of 0.8.
Python code
"""The spread smile: two marginal smiles joined by a Gaussian copula, against a flat-volatility spread option."""
import numpy as np
from scipy.stats import norm
from corr_parameter_example import EXPIRY, NOTIONAL, inputs, spread_vol
from swaption_example import bachelier_price
# Normal volatility smile in bp: ATM level, slope per 100bp of strike, curvature per (100bp)^2.
SMILES = {"2Y": (105.0, -5.0, 3.0), "10Y": (88.0, -3.0, 2.5)}
FLAT = {"2Y": (105.0, 0.0, 0.0), "10Y": (88.0, 0.0, 0.0)}
LIMIT = 4.0 # the volatility moves smoothly to a flat level beyond about 400bp from the forward
def smile_vol(offset, atm, slope, curve):
"""Normal volatility at a strike offset from the forward, in decimals."""
x = LIMIT * np.tanh(offset / 0.01 / LIMIT)
return (atm + slope * x + curve * x**2) / 1e4
def marginal_cdf(forward, params, grid):
"""Distribution function of the swap rate implied by the smile: P(S <= K) = 1 + dC/dK."""
prices = np.array([bachelier_price(forward, k, smile_vol(k - forward, *params), EXPIRY, 1.0) for k in grid])
return np.maximum.accumulate(np.clip(1.0 + np.gradient(prices, grid), 0.0, 1.0)), prices
def sample_pair(f2, f10, rho, n, rng, smiles):
"""Swap rates drawn from the marginals with a Gaussian copula of correlation rho."""
z1 = rng.standard_normal(n)
z2 = rho * z1 + np.sqrt(1 - rho**2) * rng.standard_normal(n)
out = []
for z, name, forward in ((z2, "2Y", f2), (z1, "10Y", f10)):
sd = smiles[name][0] / 1e4 * np.sqrt(EXPIRY)
grid = np.linspace(forward - 6 * sd, forward + 6 * sd, 4001)
cdf, _ = marginal_cdf(forward, smiles[name], grid)
out.append(np.interp(norm.cdf(z), cdf, grid))
return out[0], out[1]
def flat_price(f2, f10, df, rho, strike=0.0):
return NOTIONAL * bachelier_price(f10 - f2, strike, spread_vol(88e-4, 105e-4, rho), EXPIRY, df)
if __name__ == "__main__":
_, f2, f10, df = inputs()
print("Marginal smiles: normal volatility in bp at strikes from the forward")
print(f"{'Offset':>7} {'2Y':>7} {'10Y':>7}")
for off in (-0.02, -0.01, 0.0, 0.01, 0.02):
print(f"{off * 1e4:+5.0f}bp {smile_vol(off, *SMILES['2Y']) * 1e4:5.1f}bp {smile_vol(off, *SMILES['10Y']) * 1e4:5.1f}bp")
for name, forward in (("2Y", f2), ("10Y", f10)):
sd = SMILES[name][0] / 1e4 * np.sqrt(EXPIRY)
grid = np.linspace(forward - 5 * sd, forward + 5 * sd, 2001)
_, prices = marginal_cdf(forward, SMILES[name], grid)
density = np.gradient(np.gradient(prices, grid), grid)
print(f"Lowest implied density of the {name} smile over 5 standard deviations: {density.min():.3f}")
rng = np.random.default_rng(6)
n = 2_000_000
print(f"\nSpread option, strike 0bp, notional {NOTIONAL / 1e6:.0f}m, {n:,} simulated pairs")
print(f"{'Copula corr':>11} {'Flat, formula':>14} {'Flat, copula':>13} {'Smile, copula':>14} {'Std error':>10} {'Smile - flat':>13}")
for rho in (0.5, 0.8, 0.95):
a2, a10 = sample_pair(f2, f10, rho, n, rng, FLAT)
b2, b10 = sample_pair(f2, f10, rho, n, rng, SMILES)
flat_sim = NOTIONAL * df * np.maximum(a10 - a2, 0.0).mean()
pv = NOTIONAL * df * np.maximum(b10 - b2, 0.0)
flat = flat_price(f2, f10, df, rho)
print(f"{rho:11.2f} {flat:14,.0f} {flat_sim:13,.0f} {pv.mean():14,.0f} {pv.std(ddof=1) / np.sqrt(n):10,.0f} {pv.mean() - flat:+13,.0f}")
rho = 0.8
s2, s10 = sample_pair(f2, f10, rho, n, rng, SMILES)
spread = s10 - s2
print(f"\nCorrelation {rho}: spread option by strike")
print(f"{'Strike':>7} {'Flat vols':>11} {'With smile':>11} {'Difference':>11}")
for k in (-0.0050, 0.0, 0.0050, 0.0100, 0.0150):
smile = NOTIONAL * df * np.maximum(spread - k, 0.0).mean()
flat = flat_price(f2, f10, df, rho, k)
print(f"{k * 1e4:+5.0f}bp {flat:11,.0f} {smile:11,.0f} {smile - flat:+11,.0f}")
print(f"\nStandard deviation of the spread at correlation {rho}: flat {spread_vol(88e-4, 105e-4, rho) * np.sqrt(EXPIRY) * 1e4:.1f}bp, "
f"with smile {spread.std() * 1e4:.1f}bp. Excess kurtosis of the simulated spread: "
f"{np.mean(((spread - spread.mean()) / spread.std()) ** 4) - 3:+.2f}")
The output is:
Marginal smiles: normal volatility in bp at strikes from the forward
Offset 2Y 10Y
-200bp 124.5bp 102.1bp
-100bp 112.8bp 93.3bp
+0bp 105.0bp 88.0bp
+100bp 103.0bp 87.5bp
+200bp 106.0bp 91.0bp
Lowest implied density of the 2Y smile over 5 standard deviations: 0.003
Lowest implied density of the 10Y smile over 5 standard deviations: 0.005
Spread option, strike 0bp, notional 100m, 2,000,000 simulated pairs
Copula corr Flat, formula Flat, copula Smile, copula Std error Smile - flat
0.50 822,345 821,783 874,589 977 +52,243
0.80 567,038 566,035 602,045 675 +35,007
0.95 360,414 360,312 377,218 429 +16,803
Correlation 0.8: spread option by strike
Strike Flat vols With smile Difference
-50bp 829,971 862,142 +32,171
+0bp 567,038 604,860 +37,822
+50bp 361,903 409,142 +47,239
+100bp 214,097 271,834 +57,737
+150bp 116,577 181,389 +64,811
Standard deviation of the spread at correlation 0.8: flat 141.2bp, with smile 166.4bp. Excess kurtosis of the simulated spread: +2.20
Reading the output:
The machinery is tested. With flat marginals the copula gives 821,783, 566,035 and 360,312 against the formula’s 822,345, 567,038 and 360,414, which differ by about 1,000 or less. That is the simulation error.
The implied densities are positive, with lows of 0.003 and 0.005 over five standard deviations, so both smiles are usable.
The smile raises the value of the spread option. At the money it adds 52,243, 35,007 and 16,803 at correlations of 0.5, 0.8 and 0.95, which is 6.4%, 6.2% and 4.7%. The gain is smaller at a high correlation, where the spread is tighter.
The effect is largest in the wings. At a correlation of 0.8 it is 32,171 at -50bp, a gain of 3.9%, and 64,811 at +150bp, a gain of 56%. A far out-of-the-money spread option is mostly a bet on the tail of the marginals.
The spread is fat-tailed. Its standard deviation rises from 141.2bp to 166.4bp and its excess kurtosis is +2.20, against zero for a normal variable, though each smile is mild.
A valuation control view#
Test the dependence model against the normal case: with flat marginals it must reproduce the closed form. A copula implementation that fails this has an error in the sampling or the inversion.
Check the marginal smiles for arbitrage across the whole range of strikes: a negative density in the wings changes the price of a spread option, and the wings are where its value is most sensitive.
Know what the copula assumes: no tail dependence and one parameter. Compare with another dependence structure or a model for the spread directly, and report the difference as model risk for far out-of-the-money options. See Model Risk in Valuation.
Know whether an implied correlation includes the smile: the same option price gives a different correlation with and without the smile. A correlation quoted by one team without smiles and used by another with them is an inconsistent input.
Keep the volatility and the correlation inputs consistent in time: the smile at the expiry of the option, and the correlation for the same expiry and tenors. A smile from one date and a correlation from another gives a spread that was never in the market.
Next, Interest Rate Correlation, Part 7: Calibration, Risk & Reserves covers the calibration, the sensitivity and the reserve.