We had a question the other day which bond spread types that we support in the Qlang library. A summary of the main principles follow, with an example wsp.
-
Y-Spread (Yield Spread)
In Quantlab this spread is not just a simple subtraction between two bond yields. It is the yield spread between the bonds “priced” yield in the market and the yield resulting in discounting the bonds cashflows with an alternate discount curve such as a tresury curve or a swap curve. In the literature, the term yield-spread is used in many different ways. Some have the yield spread as being identical to the g-spread but for another benchmark than a US Treasury bond. -
G-Spread (Government Spread)
- Benchmark: The yield on an on-the-run government bond with the closest maturity.
- Calculation:
G-Spread = Bond YTM - Yield of nearest-maturity on-the-run Government Bond
- Key Calculation Difference: Uses nearest actual on-the-run government bond yield, not necessarily interpolated to the exact maturity. Ignores curve shape and cash flow timing.
- I-Spread (Interpolated Spread)
- Benchmark: The swap rate curve, interpolated to the bond’s exact maturity.
- Calculation:
I-Spread = Bond YTM - Interpolated Swap Rate for the bond's maturity
- Key Calculation Difference: Uses interpolation on the swap curve to match maturity exactly. Ignores curve shape and cash flow timing beyond YTM.
- Z-Spread (Zero-Volatility Spread)
- Benchmark: The entire benchmark spot rate curve (government or swap).
- Calculation: Iterative calculation to find the constant spread to add to each spot rate to make the PV of the bond’s cash flows equal its market price.
Bond Dirty Price = Σ [ CF_t / (SpotRate_t + Z-Spread)^t ]
- Key Calculation Difference: Uses the entire spot curve, accounts for all cash flow timings and the curve shape. Assumes zero interest rate volatility.
- Asset Swap Spread (ASW)
- Benchmark: A floating money market rate (e.g., SOFR) plus the ASW itself, via an interest rate swap.
- Calculation: Involves valuing the bond and an associated interest rate swap to find the spread over the floating rate leg that equates the value of paying fixed (bond coupon) and receiving floating (SOFR + ASW).
- Key Calculation Difference: Involves swap valuation, calculates spread over a floating benchmark, implicitly handles coupons by swapping them. Reflects funding relative to the swap market.
- NOTE: that we have two different definitions of ASW, the “Matched Maturity” and the “True” ASW versions. The former matches only maturity date of the bond, but not the size of the fixed bond coupon. The True ASW matches the bonds cashflows exactly, with option to match its dirty price, clean price, or par.
ASW example.qlw (19.5 KB)