Sub topic 3
Bootstrapping Spot Rates from Par Rates
Prerequisites and working model
Assume you know present value, bond pricing, yield to maturity, coupon payments, and basic discounting. This chapter uses annual-pay bonds, a par value of 1, and annual compounding. The same logic applies to semiannual or quarterly data after adjusting the periods and rates.
A par bond is priced at its face value. Its coupon rate is therefore the par rate for its maturity. A discount factor is the present value of 1 unit paid at a particular future date. A spot rate is the annualized return for one cash flow paid at one maturity.
Bootstrapping finds discount factors one at a time. The discount factor for the first maturity is known from the shortest par bond. That value is then used to solve for the next discount factor.
Recursive calculation
Let:
- \(c_n\) be the annual coupon rate of the \(n\)-year par bond.
- \(DF_i\) be the discount factor for year \(i\).
- The bond’s price and face value both equal 1.
For an \(n\)-year par bond:
\[ cn DF1+cn DF2+\cdots+cn DF{n-1}+(1+cn)DFn=1 \]
Solving for the newest discount factor gives:
\[ DFn=\frac{1-cn\sum{i=1}^{n-1}DFi}{1+c_n} \]
After finding \(DF_n\), convert it to an annual spot rate:
\[ sn=DFn^{-1/n}-1 \]
| Maturity | Par rate | Discount factor calculation |
|---|---|---|
| 1 year | \(c_1\) | \(DF_1=1/(1+c_1)\) |
| 2 years | \(c_2\) | \(DF_2=[1-c_2DF_1]/(1+c_2)\) |
| \(n\) years | \(c_n\) | \(DF_n=[1-c_n\sum_{i=1}^{n-1}DF_i]/(1+c_n)\) |
For par rates of 2%, 3%, and 4%, the first discount factor is \(1/1.02\). The second bond’s coupon at year 1 is discounted with \(DF1\), so the remaining value determines \(DF2\). Continue this process for year 3.
par_rates = [0.02, 0.03, 0.04] # annual-pay par rates for years 1 to 3
discount_factors = []
for maturity, coupon_rate in enumerate(par_rates, start=1):
earlier_coupons = coupon_rate * sum(discount_factors)
df = (1 - earlier_coupons) / (1 + coupon_rate)
discount_factors.append(df)
spot_rates = [
df ** (-1 / maturity) - 1
for maturity, df in enumerate(discount_factors, start=1)
]
for maturity, (df, spot) in enumerate(
zip(discount_factors, spot_rates), start=1
):
print(f"{maturity} year: DF={df:.6f}, spot={spot:.4%}")Common errors and checks
Do not treat every par rate as a spot rate. A par bond contains several cash flows, while a spot rate discounts one maturity. Also, do not discount every coupon using the final bond’s yield. Each cash flow must use the discount factor for its own payment date.
The bootstrapped curve should reprice every input par bond at 1, subject to rounding. In real data, account for coupon frequency, settlement conventions, accrued interest, and interpolation between quoted maturities.
Exercise
The one-year par rate is 2% and the two-year par rate is 3%. Find the two-year discount factor using annual payments.
Show answer
First, DF1 = 1/1.02 = 0.980392. Then DF2 = [1 − 0.03(0.980392)]/1.03 = 0.942318.