Interest Rate Curve Build, Part 2: Multi-Curve & Basis#
See also
Interest Rate Curve Build, Part 1: Instruments & Bootstrapping builds one curve and uses it twice: to discount cash flows, and to read off the floating rates. That works for an overnight index swap, because the floating leg is the overnight rate that the discount curve is made from. It does not work for products that pay a term rate, such as a 3 month or 6 month index, because a term rate is not the same as a rolled-up overnight rate. This page separates the two jobs, and explains the basis between the resulting curves.
A short history: why the single curve broke#
The multi-curve framework was not designed in advance. It was forced on the market by the credit crisis, and the dates explain why each piece exists.
Before 2007: one curve#
Before the crisis, banks treated the interbank rate (LIBOR or EURIBOR) as the risk-free rate. The spread between three month LIBOR and the overnight swap rate for the same period was small and stable, of the order of ten basis points in dollars. Three and six month rates were nearly consistent with each other, so the basis between tenors was close to zero and basis swaps were a minor product. A single curve, built from deposits, futures and swaps, discounted every cash flow and projected every floating rate. That is the curve built in Interest Rate Curve Build, Part 1: Instruments & Bootstrapping, and it was the standard.
2007 to 2008: the spreads open up#
From August 2007, banks became unwilling to lend to each other for more than a short time. The spread of term interbank rates over overnight rates widened to several times its old level, and after the failure of Lehman Brothers in September 2008 it reached more than 300 basis points in dollars at the peak. Two effects followed that a single curve cannot represent:
Term rates stopped being consistent with each other. A six month rate carried more credit and liquidity risk than a rolled sequence of three month rates, and basis swaps between tenors moved from about zero to tens of basis points. A curve built from three month instruments no longer gave the right six month forward rates, and the reverse.
The interbank rate was no longer risk-free. Discounting at LIBOR meant discounting at a rate that contained a bank credit premium. For a collateralised trade, that was the wrong rate.
Cross-currency basis spreads also widened sharply in the same period, because of a shortage of dollar funding outside the US.
2009 to 2013: the new practice#
Most large derivative trades between dealers were already covered by a Credit Support Annex (CSA), with cash collateral that earned the overnight rate. The logic of the new practice followed from that. A collateralised cash flow is funded by the collateral, which earns the overnight rate, so it should be discounted at the overnight rate. The curve for that is built from overnight index swaps. The floating rates of each tenor are then projected with a separate curve. The idea appeared in papers and practitioner articles from about 2009 and 2010, and dealers adopted it, followed by the clearing houses, which moved the discounting of cleared swaps to the overnight rate over the following years.
2012 onwards: LIBOR itself#
The rate-setting scandal of 2012 damaged confidence in LIBOR, and regulators began to look for alternatives. In 2017 the UK regulator announced that it would no longer compel banks to submit LIBOR after the end of 2021, and in the US a committee chose SOFR as the replacement for dollar LIBOR. Most LIBOR settings stopped at the end of 2021, and the main dollar settings stopped in June 2023. New dollar and sterling swaps now reference compounded overnight rates, such as SOFR and SONIA, which makes the floating leg and the discount curve the same rate again for those trades. EURIBOR continues to exist, and so do the large volume of legacy trades, so the multi-curve machinery is still needed. The basis between currencies and between overnight indices also remains.
Date |
Event |
Effect on the curve build |
|---|---|---|
Before August 2007 |
Interbank rates treated as risk-free. Tenor spreads close to zero. |
One curve for discounting and projection. |
August 2007 |
Interbank funding stress begins. |
Term spreads over overnight rates widen. Tenor basis opens up. |
September 2008 |
Lehman Brothers fails. |
Spreads reach their peak. A single curve cannot fit the market. |
2009 to 2010 |
Practitioners propose overnight discounting for collateralised trades and a projection curve for each tenor. |
Multi-curve becomes market practice for dealers. |
2010 to 2013 |
Clearing houses move cleared swaps to overnight discounting. |
Multi-curve becomes the standard for cleared and collateralised books. |
2012 to 2017 |
LIBOR scandal. Regulators and committees choose overnight replacement rates. |
Plan to replace the term rate that the floating leg pays. |
2021 to 2023 |
Most LIBOR settings cease. |
New trades use compounded overnight rates. Multi-curve remains for EURIBOR, legacy trades and basis. |
The dates and the sizes of the spreads are approximate, and should be checked against the sources before being quoted.
Why one curve is not enough#
The history gives two separate reasons for two kinds of curve:
Different risk in different terms. A term rate such as LIBOR or EURIBOR is a rate for unsecured lending between banks over the period. Lending for six months carries more credit and liquidity risk than lending for three, and the difference became visible as a spread in the market.
Collateral. Most derivatives are now collateralised, and the collateral earns an overnight rate. The right rate for discounting a collateralised cash flow is therefore the overnight rate, which is not the same as the term rate that the floating leg pays.
The modern set-up has two kinds of curve:
A discount curve \(D\), which follows the rate paid on collateral. It is an overnight curve, such as SOFR, SONIA or the euro short-term rate, and it is the curve built in Interest Rate Curve Build, Part 1: Instruments & Bootstrapping.
A projection curve \(P_x\) for each index tenor \(x\) that is still in use, which says what the index will fix at. A 6 month EURIBOR curve and a 3 month EURIBOR curve are separate.
Both kinds are built by the same bootstrap as in Part 1. The discount curve is bootstrapped first, from overnight instruments. Each projection curve is then bootstrapped on top of it, one pillar at a time, with the discount curve held fixed. The multi-curve build is an extension of the bootstrap, and not a different method, until the curves start to depend on each other, which is the case covered in Interest Rate Curve Build, Part 3: Global Solver & Jacobian.
Pricing with two curves#
The projection curve gives the forward rate of the index over a period \([T_1, T_2]\) with accrual fraction \(\tau\):
The form is the same as the forward rate in Part 1, but the curve is \(P_x\), not \(D\). The cash flows are then discounted with \(D\). For a unit notional:
Instrument |
Payoff |
Present value |
|---|---|---|
FRA on the index, receiving floating |
\(\tau \, (L - K)\) at \(T_2\) |
\(\tau \, D(T_2) \, (F_x(T_1,T_2) - K)\) |
Swap on the index, receiving floating |
Floating \(\tau_j L_j\) at each \(t_j\), fixed \(s \tau_i\) at each \(T_i\) |
\(\sum_j \tau_j F_x(t_{j-1}, t_j) D(t_j) - s \sum_i \tau_i D(T_i)\) |
Par swap rate |
Fixed rate that makes the swap worth zero |
\(s = \dfrac{\sum_j \tau_j F_x(t_{j-1}, t_j) D(t_j)}{\sum_i \tau_i D(T_i)}\) |
Putting \(P_x = D\) gives back the single-curve case of Part 1. The single curve is the special case where the index equals the discounting rate.
Bootstrapping a projection curve#
The projection curve is built in the same way as the discount curve, one pillar at a time, but with the discount curve already known. For a swap on the index with maturity \(T\), annual fixed payments of rate \(s\) and floating payments at dates \(t_1, \dots, t_m\):
The left side is known, because \(D\) is known. The right side depends on \(P_x\) through the unknown pillar \(P_x(T)\), so one root-finding step per pillar gives the curve. Instruments are chosen to match the index: swaps on the 6 month index for the 6 month curve, and so on, with FRAs and futures on the same index at the short end.
The order matters. The discount curve is solved first, from overnight instruments. The projection curves come second, from instruments on each index, and they use the discount curve to discount.
Basis#
The basis is the difference between the rates of two curves that would be the same in a single-curve world. It appears in three places.
Tenor basis#
A tenor basis swap exchanges a floating rate of one tenor plus a spread for a floating rate of another tenor in the same currency. A common one pays 3 month plus a spread \(b\) and receives 6 month flat. With a unit notional, the 3 month leg pays quarterly, at dates \(u_k\) with accrual \(\tau_3 = 0.25\), and the 6 month leg pays twice a year at \(t_j\):
Because the 6 month rate is higher than the 3 month rate, the spread on the 3 month leg is positive. Basis swaps are traded in the market, so their spreads are inputs to the curve build, and they pin down one projection curve relative to another.
Index basis#
Two floating rates in the same currency, but on different indices, such as two overnight rates with different collateral or credit characteristics. The structure is the same as the tenor basis, with the spread on one leg.
Cross-currency basis#
A cross-currency basis swap exchanges floating payments in two currencies, with the notionals exchanged at the start and returned at the end, and a spread on one of the legs. If covered interest parity held perfectly, the spread would be zero. In practice, the demand for dollars makes the spread non-zero, and it changes the discount curve of one currency when the collateral is posted in another. This is the origin of the collateral choice that ColVA: Collateral Valuation Adjustment describes.
Worked example#
The example takes the discount curve from the swap-only version of Part 1 and builds two projection curves on top of it, one for a 6 month index and one for a 3 month index. Their swap rates are above the overnight swap rates by an amount that rises with maturity, from 8 to 17 basis points for the 6 month index and from 4 to 9 basis points for the 3 month index. The spreads are invented but have a realistic order of size. The fixed legs of all the swaps pay annually, which is a simplification.
Python code
"""Multi-curve: a projection curve per index tenor on top of an OIS discount curve, and the basis between them."""
import numpy as np
from scipy.optimize import brentq
from curve_example import PAR_RATES, PILLARS, Curve, bootstrap
SIX_MONTH_SPREADS = np.array([8, 10, 12, 14, 15, 16, 17, 17, 17]) / 1e4 # 6M swap rate less OIS swap rate
THREE_MONTH_SPREADS = np.array([4, 5, 6, 7, 8, 8, 9, 9, 9]) / 1e4 # 3M swap rate less OIS swap rate
def projection_curve(discount, maturities, quotes, float_period):
"""Bootstrap the curve P for an index with floating payments every `float_period` years.
The fixed leg is annual and discounted with the discount curve D. The floating leg pays the
forward rate of the index, read from P and discounted with D.
"""
times, dfs = [], []
for T, s in zip(maturities, quotes):
def error(p_T):
proj = Curve(times + [T], dfs + [p_T])
ends = np.arange(float_period, T + float_period / 2, float_period)
starts = np.concatenate([[0.0], ends[:-1]])
floating = ((proj.df(starts) / proj.df(ends) - 1.0) * discount.df(ends)).sum()
fixed = s * discount.df(np.arange(1, T + 1)).sum()
return fixed - floating
dfs.append(brentq(error, 0.01, 1.0))
times.append(T)
return Curve(times, dfs)
def forward_rate(curve, start, tenor):
"""Simple forward rate for the period [start, start + tenor]."""
return (curve.df(start) / curve.df(start + tenor) - 1.0) / tenor
def basis_spread(discount, proj_3m, proj_6m, maturity):
"""Spread on the 3M leg that makes a 3M-plus-spread against 6M swap worth zero."""
ends6 = np.arange(0.5, maturity + 0.25, 0.5)
leg6 = ((proj_6m.df(np.concatenate([[0.0], ends6[:-1]])) / proj_6m.df(ends6) - 1.0) * discount.df(ends6)).sum()
ends3 = np.arange(0.25, maturity + 0.125, 0.25)
leg3 = ((proj_3m.df(np.concatenate([[0.0], ends3[:-1]])) / proj_3m.df(ends3) - 1.0) * discount.df(ends3)).sum()
return (leg6 - leg3) / (0.25 * discount.df(ends3).sum())
def forward_6m(curve, start):
return forward_rate(curve, start, 0.5)
if __name__ == "__main__":
quotes = np.array(PAR_RATES)
ois = bootstrap()
proj6 = projection_curve(ois, PILLARS, quotes + SIX_MONTH_SPREADS, 0.5)
proj3 = projection_curve(ois, PILLARS, quotes + THREE_MONTH_SPREADS, 0.25)
print("1. Forward rates starting in 5 years:")
print(f" Overnight (OIS) curve, 6M period: {forward_rate(ois, 5.0, 0.5):.4%}")
print(f" 6M projection curve, 6M period: {forward_rate(proj6, 5.0, 0.5):.4%}")
print(f" 3M projection curve, 3M period: {forward_rate(proj3, 5.0, 0.25):.4%}")
print("\n2. Tenor basis swap, pay 3M plus spread against 6M flat:")
for maturity in (2, 5, 10):
spread = basis_spread(ois, proj3, proj6, maturity)
print(f" {maturity:>2}Y: spread {spread * 1e4:5.2f} bp")
print("\n3. Dependence between the curves, effect on the 6M forward starting in 5 years:")
base = forward_rate(proj6, 5.0, 0.5)
bumped_ois = bootstrap(PILLARS, np.where(np.array(PILLARS) == 5, quotes + 1e-4, quotes))
after_ois = forward_rate(projection_curve(bumped_ois, PILLARS, quotes + SIX_MONTH_SPREADS, 0.5), 5.0, 0.5)
print(f" +1bp on the 5Y OIS swap, 6M swap quotes held: {(after_ois - base) * 1e4:+.2f} bp")
after_six = forward_rate(projection_curve(ois, PILLARS, quotes + SIX_MONTH_SPREADS + np.where(np.array(PILLARS) == 5, 1e-4, 0.0), 0.5), 5.0, 0.5)
print(f" +1bp on the 5Y 6M swap, OIS curve unchanged: {(after_six - base) * 1e4:+.2f} bp")
print(f" (the OIS curve is solved first, so it does not move when a 6M quote changes)")
The output is:
1. Forward rates starting in 5 years:
Overnight (OIS) curve, 6M period: 3.7303%
6M projection curve, 6M period: 3.9070%
3M projection curve, 3M period: 3.8199%
2. Tenor basis swap, pay 3M plus spread against 6M flat:
2Y: spread 4.93 bp
5Y: spread 6.91 bp
10Y: spread 7.89 bp
3. Dependence between the curves, effect on the 6M forward starting in 5 years:
+1bp on the 5Y OIS swap, 6M swap quotes held: +0.03 bp
+1bp on the 5Y 6M swap, OIS curve unchanged: -2.81 bp
(the OIS curve is solved first, so it does not move when a 6M quote changes)
Left: the forward rates of the three curves. The projection curves are above the overnight curve, and the 6 month curve is above the 3 month one. Right: the spread on a 3 month against 6 month basis swap, by maturity.#
Reading the output:
The forward rate depends on the curve. For the six month period starting in 5 years, the overnight curve gives 3.730% and the 6 month projection curve gives 3.907%. A swap on the 6 month index priced with the overnight curve alone would be wrong by 17.7 basis points of floating rate over that period.
The tenor basis is positive and rises with maturity. The basis swap spreads are 4.9, 6.9 and 7.9 basis points at 2, 5 and 10 years.
The basis swap agrees with the swap quotes. At 5 years the 6 month swap quote is 14 basis points over the overnight swap and the 3 month quote is 7 basis points over, a difference of 7 basis points. The basis swap spread is 6.9, which is consistent, as the two are different ways to quote the same information.
The curves depend on each other in one direction. A 1 basis point rise in the 5 year overnight swap moves the 6 month forward by 0.03 basis points, through the discounting. A 1 basis point rise in the 5 year 6 month swap moves the same forward by -2.81 basis points and does not move the overnight curve at all. The negative sign is the sawtooth from Part 1: the forward after the bumped pillar moves against the one before it.
The dependency structure#
Because the projection curves depend on the discount curve but not the other way round, the matrix of sensitivities of the curve set to its inputs is block triangular: the discount curve block is on its own, and each projection curve has a block that also depends on the discount curve. A rise in an overnight quote changes every curve, and a rise in a 6 month quote changes only the 6 month curve.
In production the dependency is often in both directions. A cross-currency swap links two curve sets, and a basis swap collateralised in another currency links the discount curve to a projection curve. The whole set then has to be solved together. That is the case for the global solver in Interest Rate Curve Build, Part 3: Global Solver & Jacobian.
Practical points#
Instruments must match the curve. A swap on the 6 month index belongs in the 6 month curve. Putting it into the overnight curve would give a wrong curve.
Fixing the right index: the swap definition fixes the index, the tenor, the payment frequency and the day count of each leg. The details change the par rate by a few basis points.
Which curve discounts: it depends on the collateral agreement. An uncollateralised trade is discounted at a funding rate, which links the curve to FVA: Funding Valuation Adjustment.
Stress: the tenor basis widens in a crisis, so a book with a large basis position needs a stress test of the basis, as well as of the level of rates.
A valuation control view#
Right curve for the trade: check that each trade is discounted and projected with the curves its terms require, such as the index of the floating leg and the currency of the collateral. A wrong curve mapping is a common source of a valuation break.
Basis inputs: the basis swap quotes are less liquid than the main swaps, and the long tenors are often not observable. They affect the level in Fair-Value Hierarchy: Levels 1, 2 & 3.
Reconciliation of curve sets: every curve in the set must reprice its own inputs, and the discount curve must reprice the overnight swaps.
Risk by curve: the risk report splits the sensitivity by curve (overnight, 3 month, 6 month and basis), and it is reconciled with the front office. A trade with only an overnight risk in one system and a projection risk in another points to a mapping difference.
Independent rebuild: rebuilding the set with a different tool or solver and comparing the forward rates, as in the first part of the output above, is a strong test. See Governance: Model Risk, Accountability and Data.
Next, Interest Rate Curve Build, Part 3: Global Solver & Jacobian replaces the sequential bootstrap with a global solver, for the cases where several curves and many instruments have to be solved together.