Sub topic 8
Pricing with Spot Rates
This chapter assumes you can price a bond by discounting all its cash flows at one yield to maturity (YTM). It also assumes you know the cash-flow structure of a fixed-rate bond and can use compound-interest discount factors.
Why one yield is not the whole story
Pricing with a YTM applies a single discount rate to every cash flow. That is a convenient simplification, because money received in year 1 and money received in year 10 usually earn different market rates. Pricing with spot rates removes the simplification by discounting each cash flow at the rate for its own maturity.
A spot rate is the yield on a zero-coupon bond for a given maturity. A zero-coupon bond makes one payment at maturity, so its yield is the pure market rate for that single date. The set of spot rates across maturities is the spot curve, also called the zero curve.
The working model
Each cash flow is a zero-coupon payment. A 3-year, 6% annual-pay bond with par 100 is a bundle of three of them: 6 in year 1, 6 in year 2, and 106 in year 3. With spot rates S1, S2, and S3:
Price = CF1 / (1 + S1) + CF2 / (1 + S2)^2 + CF3 / (1 + S3)^3
The price from this formula is often called the no-arbitrage price. If the market price differs, you can profit risk-free by trading the bond against its component zeros.
Worked example
Use the spot curve S1 = 3.0%, S2 = 4.0%, and S3 = 5.0%.
- Year 1: 6 / 1.03 = 5.8252
- Year 2: 6 / 1.04^2 = 5.5473
- Year 3: 106 / 1.05^3 = 91.5668
- Price = 5.8252 + 5.5473 + 91.5668 = 102.9394
The same bond has a YTM of about 4.92%, which you find by solving for the single rate that gives the same price. The YTM is a blend of the spot rates, weighted toward the large final cash flow. It is close to the 3-year spot rate but not equal to it.
Code
def price_from_spots(cash_flows, spot_rates):
"""Price a bond with annual periods. cash_flows[i] is paid at time i+1."""
return sum(
cf / (1 + s) ** t
for t, (cf, s) in enumerate(zip(cash_flows, spot_rates), start=1)
)
def ytm_from_price(price, cash_flows, lo=0.0, hi=1.0):
"""Find the single annual yield that reproduces a price (bisection)."""
def pv(y):
return sum(cf / (1 + y) ** t for t, cf in enumerate(cash_flows, start=1))
for _ in range(100):
mid = (lo + hi) / 2
if pv(mid) > price:
lo = mid
else:
hi = mid
return (lo + hi) / 2
cfs = [6, 6, 106]
spots = [0.03, 0.04, 0.05]
value = price_from_spots(cfs, spots)
print("Spot-curve value:", round(value, 4))
print("Equivalent YTM: ", round(ytm_from_price(value, cfs), 5))
market_price = 102.00
print("Mispricing: ", round(value - market_price, 4))The first print shows 102.9394. The last line shows how much the bond is undervalued if it trades at 102.00. In that case you would buy the bond and sell its three cash flows separately as zeros. The sales bring in 102.9394, which is more than you paid, so the difference is a risk-free profit. If the market price is above the spot-curve value, you reverse the trade by selling the bond and buying the zeros.
Spot-rate pricing versus YTM pricing
| Feature | YTM pricing | Spot-rate pricing |
|---|---|---|
| Discount rate | One rate for all cash flows | A separate rate for each cash flow date |
| Input needed | A yield (or the market price, to solve for it) | A spot curve |
| Use of the result | Quoting and comparing bonds | Judging whether a price is consistent with the curve |
| Two bonds with the same maturity | Usually have different YTMs | Use the same spot rates, so values are consistent |
| Arbitrage logic | Not built in | Built in |
The last two rows are the main practical point. YTM depends on the bond's own coupon, so two bonds with the same maturity and different coupons have different YTMs. Spot rates do not depend on any particular bond. They are properties of the curve, so every bond is priced from the same set of rates.
Semiannual compounding
Many bonds pay coupons twice a year, and spot rates are often quoted as annualized rates with semiannual compounding. Divide the quoted rate by 2 and count periods in half-years.
For a 1.5-year, 4% semiannual bond, the cash flows are 2.00, 2.00, and 102.00 at periods 1, 2, and 3. If the annualized spot rates are 2.0%, 2.4%, and 2.8%, the periodic rates are 1.0%, 1.2%, and 1.4%:
- Period 1: 2 / 1.010 = 1.9802
- Period 2: 2 / 1.012^2 = 1.9528
- Period 3: 102 / 1.014^3 = 97.8359
The price is about 101.77.
Common errors
- Using one rate for every cash flow. If the question gives a spot curve, each cash flow gets its own rate. Using the final-year spot rate for everything gives the wrong price.
- Mixing up spot rates and YTM. The 3-year spot rate is the yield on a 3-year zero. It is not the YTM of a 3-year coupon bond.
- Wrong exponent. The year-2 cash flow uses S2 with an exponent of 2, not S1 compounded twice and not S3.
- Forgetting to halve the rate and double the periods for semiannual pay.
- Forgetting the par value. The last cash flow is the final coupon plus par, as in the 106 above.
- Reading the arbitrage direction backwards. If the bond trades below its spot-curve value, buy the bond and sell the zeros. If it trades above, do the reverse.
Edge cases
- Flat spot curve. If every spot rate equals the same value, spot pricing and YTM pricing give the same price, and the YTM equals that value.
- Upward-sloping curve. The YTM falls between the shortest and longest spot rates used. Pricing at the YTM is still correct for quoting purposes, but it cannot show whether the bond is mispriced against the curve.
- Zero-coupon bond. Only one cash flow exists, so the YTM equals the spot rate for that maturity.
- Between coupon dates. The calculation above gives the value on a coupon date. In practice you adjust for accrued interest, as covered in the earlier chapter on flat and full prices.
Exercise
A 2-year bond has a 5% annual coupon and par of 100. The 1-year spot rate is 2.0% and the 2-year spot rate is 3.0%. What is its price, and if it trades at 103.00, what trade captures the arbitrage?
Show answer
Price = 5 / 1.02 + 105 / 1.03^2 = 4.9020 + 98.9726 = 103.8745 (the 2-year discount uses 1.03 squared, which is 1.0609). The bond trades below its spot-curve value of about 103.87, so buy the bond at 103.00 and sell its two cash flows as zero-coupon bonds for 103.87. The profit is about 0.87 per 100 of par with no risk.
Exercise
The 3-year spot rate is 5.0% and the YTM on a 3-year 6% annual-pay bond is about 4.92%. Why are these two numbers different, and which one would you use to price a 3-year zero-coupon bond?
Show answer
The YTM is a single rate that makes the present value of all three cash flows equal the price, so it blends the 3%, 4%, and 5% spot rates in proportion to the size of the cash flows. The 3-year spot rate applies only to a payment received at year 3. A 3-year zero-coupon bond has only that one payment, so you price it with the 3-year spot rate of 5.0%: 100 / 1.05^3 = 86.38.