Finance · 12 min read · ~27 min study · intermediate
Bonds and Fixed Income
Pricing, yield to maturity, duration, convexity — the fixed-income concepts behind interest-rate modeling.
Bonds and Fixed Income: Pricing, Duration, and Why Quants Care
Bond pricing, yield to maturity, duration and convexity — the fixed income concepts that form the backbone of interest rate modeling.
Bonds: The Quiet Giant of Finance
Equities get the headlines, but bonds run the world. The global bond market is worth over $130 trillion — significantly larger than the equity market. Governments fund themselves with bonds. Companies raise capital with bonds. Central banks conduct monetary policy through bonds. And the interest rates embedded in bond prices affect everything else — mortgages, business loans, currency values, and derivatives pricing.
For quants, fixed income is one of the richest areas of work. Bond pricing is inherently mathematical, and the models used — yield curve construction, interest rate derivatives, credit risk — require serious quantitative chops.
What Is a Bond?
A bond is a loan, securitised. The issuer (borrower) promises to make regular interest payments (coupons) and return the face value (par) at maturity.
A typical US treasury might look like: $97.83 face value, 4% annual coupon, maturing in 10 years. The holder receives $97.83 per year for 10 years, then $97.83 back at the end.
Bond Pricing
A bond's price is the present value of all future cash flows:
[ P = \sum_{t=1}^{T} \frac{C}{(1+y)^t} + \frac{F}{(1+y)^T} ]
where ( C ) is the coupon, ( F ) is the face value, and ( y ) is the yield to maturity.
If you know sigma notation and discounting, you already understand bond pricing. It is a direct application of those concepts.
Yield to Maturity (YTM)
The yield to maturity is the single discount rate that makes the present value of all cash flows equal to the current market price. It is the bond's effective interest rate.
Finding YTM requires solving a polynomial equation — there is no closed-form solution for bonds with multiple coupons. In practice, numerical methods (Newton-Raphson, bisection) are used. Optimization strikes again.
When people talk about "interest rates rising," they usually mean bond yields are going up, which means bond prices are going down. This inverse relationship is fundamental.
Duration: Sensitivity to Rate Changes
Duration measures how sensitive a bond's price is to changes in interest rates. It is essentially the weighted average time until you receive your cash flows:
[ D = \frac{1}{P} \sum_{t=1}^{T} t \cdot \frac{C_t}{(1+y)^t} ]
Modified duration translates this into a price sensitivity:
[ \frac{\Delta P}{P} \approx -D_{\text{mod}} \cdot \Delta y ]
If a bond has a modified duration of 7 and yields rise by 1%, the price drops by approximately 7%. This is a first-order approximation — it is the bond equivalent of delta in options.
Convexity
Duration is a linear approximation. Convexity adds the second-order correction:
[ \frac{\Delta P}{P} \approx -D_{\text{mod}} \cdot \Delta y + \frac{1}{2} \cdot C_{\text{conv}} \cdot (\Delta y)^2 ]
This is a Taylor expansion applied to bond pricing. Convexity is always positive for standard bonds, meaning the duration approximation always understates the actual price change — prices rise more than expected when yields fall, and fall less than expected when yields rise. Bond investors like convexity.
The Yield Curve
The yield curve plots bond yields against maturity. It is one of the most closely watched indicators in finance.
Normal curve (upward sloping): longer maturities have higher yields — investors demand a premium for locking up money longer.
Inverted curve: short-term yields exceed long-term yields — historically a reliable predictor of recession. The Federal Reserve publishes daily yield curve data.
Flat curve: similar yields across all maturities — the market is uncertain about future rates.
Spot Rates and Forward Rates
Spot rates are the yields on zero-coupon bonds of different maturities. Forward rates are implied future interest rates derived from the spot curve:
[ (1 + s_2)^2 = (1 + s_1)(1 + f_{1,2}) ]
Building a spot rate curve from observed bond prices is called bootstrapping — a core skill in fixed income quant work.
Credit Risk in Bonds
Not all bonds are created equal. A US treasury has essentially zero credit risk (the government prints the currency). A high-yield corporate bond might have a very real chance of default.
The credit spread is the extra yield investors demand for taking on credit risk:
[ \text{Credit spread} = \text{Corporate yield} - \text{Government yield} ]
Modeling credit spreads, default probabilities, and recovery rates is a major area of quant work, particularly in banking. The credit risk module explores this further.
Fixed Income Quant Work
Some of the most mathematically interesting quant work happens in fixed income:
- Yield curve construction: building consistent, arbitrage-free curves from messy market data
- Interest rate derivatives: pricing caps, floors, swaptions using models like Hull-White or SABR
- Mortgage-backed securities: modeling prepayment risk (the borrower might pay back early)
- Relative value: finding bonds that are cheap or expensive relative to the curve
Getting Practical
import numpy as np
def bond_price(face, coupon_rate, ytm, years):
"""Price a fixed-rate bond."""
coupon = face * coupon_rate
pv_coupons = sum(coupon / (1 + ytm)**t for t in range(1, years + 1))
pv_face = face / (1 + ytm)**years
return pv_coupons + pv_face
price = bond_price(100, 0.04, 0.05, 10)
print(f"Bond price: ${price:.2f}") # Trades below par (coupon
### Want to go deeper on Bonds and Fixed Income: Pricing, Duration, and Why Quants Care?
This article covers the essentials, but there's a lot more to learn. Inside , you'll find hands-on coding exercises, interactive quizzes, and structured lessons that take you from fundamentals to production-ready skills — across 50+ courses in technology, finance, and mathematics.
Free to get started · No credit card required
## Keep Reading
[Finance
### Time Value of Money: The Foundation of Every Financial Calculation
Present value, future value, discounting, NPV — the concept that a pound today is worth more than a pound tomorrow underpins all of finance.](/quant-knowledge/finance/time-value-of-money)[Finance
### Understanding Financial Markets: A Practical Guide for Aspiring Quants
Equity, fixed income, FX, derivatives — how financial markets actually work, who the participants are, and where quantitative engineers fit in.](/quant-knowledge/finance/understanding-financial-markets)[Finance
### Introduction to Derivatives: Forwards, Futures, Options, and Swaps
What derivatives are, how they work, and why they matter — the contracts at the heart of quantitative finance.](/quant-knowledge/finance/introduction-to-derivatives)[Mathematics
### Calculus for Quant Finance: Differentiation, Integration, and Why They Matter
Rates of change, areas under curves, optimization — calculus is the engine behind derivatives pricing, risk management, and portfolio construction.](/quant-knowledge/python/numpy-for-quantitative-finance)
<!-- KB_ENHANCED_BLOCK_START -->
## What You Will Learn
- Explain bonds: the quiet giant of finance.
- Build what is a bond.
- Calibrate yield to maturity (ytm).
- Compute duration: sensitivity to rate changes.
- Design the yield curve.
- Implement credit risk in bonds.
## Prerequisites
- Derivatives intuition — see [Derivatives intuition](/quant-knowledge/finance/introduction-to-derivatives).
- Options Greeks — see [Options Greeks](/quant-knowledge/finance/options-greeks-explained).
- Comfort reading code and basic statistical notation.
- Curiosity about how the topic shows up in a US trading firm.
## Mental Model
Markets are auctions for risk. Every product, model, and strategy in this section is a way of pricing or transferring some piece of risk between counterparties — and US markets give you the deepest, most regulated, most algorithmic version of that auction in the world. For *Bonds and Fixed Income*, frame the topic as the piece that pricing, yield to maturity, duration, convexity — the fixed-income concepts behind interest-rate modeling — and ask what would break if you removed it from the workflow.
## Why This Matters in US Markets
US markets are the deepest, most algorithmic, most regulated capital markets in the world. The SEC, CFTC, FINRA, and Federal Reserve govern equities, options, futures, treasuries, and OTC derivatives. The big buy-side (Bridgewater, AQR, Citadel, Two Sigma, Renaissance) and the major sell-side (GS, MS, JPM, Citi, BofA) hire heavily against the material in this section.
In US markets, *Bonds and Fixed Income* tends to surface during onboarding, code review, and the first incident a junior quant gets pulled into. Questions on this material recur in interviews at Citadel, Two Sigma, Jane Street, HRT, Jump, DRW, IMC, Optiver, and the major bulge-bracket banks.
## Common Mistakes
- Quoting risk-free rates without saying which curve (T-bill, OIS, fed funds futures).
- Treating implied volatility as a forecast instead of a market-clearing quantity.
- Using realized correlation as a hedge ratio without accounting for regime change.
- Treating *Bonds and Fixed Income* as a one-off topic rather than the foundation it becomes once you ship code.
- Skipping the US-market context — copying European or Asian conventions and getting bitten by US tick sizes, settlement, or regulator expectations.
- Optimizing for elegance instead of auditability; trading regulators care about reproducibility, not cleverness.
- Confusing model output with reality — the tape is the source of truth, the model is a hypothesis.
## Practice Questions
1. Compute the delta of an at-the-money call on SPY with one month to expiry under Black-Scholes (σ=18%, r=5%).
2. Why does the implied volatility surface for SPX exhibit a skew rather than a flat smile?
3. Define the Sharpe ratio and explain why it is annualized.
4. Why does delta-hedging a sold straddle on SPY produce P&L proportional to realized minus implied variance?
5. What does a 100 bps move in the 10-year Treasury yield typically do to a 30-year fixed-rate mortgage rate?
## Answers and Explanations
1. Δ = N(d1) where d1 = (ln(S/K) + (r + σ²/2)T) / (σ√T). With S=K, T=1/12, σ=0.18, r=0.05: d1 ≈ (0 + (0.05 + 0.0162)·0.0833) / (0.18·0.2887) ≈ 0.106; N(0.106) ≈ 0.542. Delta ≈ 0.54.
2. Because investors pay a premium for downside protection (left tail) and equity returns are negatively correlated with volatility; out-of-the-money puts therefore trade rich relative to OTM calls.
3. Sharpe = (excess return) / (volatility). Annualization (multiply by √252 for daily returns) puts strategies of different frequencies on comparable footing — a key requirement for comparing US asset managers.
4. Because the hedger captures gamma·dS² over time; integrating gives Σ gamma·(dS)², and theta paid over the life is set by implied variance. Net P&L tracks σ_realized² − σ_implied² scaled by gamma exposure.
5. Roughly 75-100 bps move the same direction; mortgages are priced off the 10y plus a spread that includes prepayment risk and originator margin, which both move with rates.
## Glossary
- **Delta** — first derivative of option price with respect to underlying.
- **Gamma** — second derivative; rate of change of delta.
- **Vega** — sensitivity of option price to implied volatility.
- **Theta** — time decay; daily P&L from holding the option as expiry approaches.
- **Implied volatility** — the σ that, when plugged into Black-Scholes, recovers the market price.
- **Skew** — variation of implied volatility across strikes.
- **Spread** — the difference between two prices; a yield curve, an option spread, or a cross-instrument arb.
- **Sharpe ratio** — annualized excess return divided by annualized volatility; the standard performance metric in US asset management.
## Further Study Path
- [Understanding Financial Markets](/quant-knowledge/finance/understanding-financial-markets) — Equity, fixed income, FX, derivatives — how markets actually work and where quants fit in.
- [Time Value of Money](/quant-knowledge/finance/time-value-of-money) — Present value, future value, discounting, NPV — the concept that underpins all of finance.
- [Introduction to Derivatives](/quant-knowledge/finance/introduction-to-derivatives) — Forwards, futures, options, swaps — the contracts at the heart of quantitative finance.
- [Python for Quant Finance: Fundamentals](/quant-knowledge/python/python-for-quant-finance-fundamentals) — Variables, functions, data structures, classes, and error handling — the core Python every quant role expects.
- [Advanced Python for Financial Applications](/quant-knowledge/python/advanced-python-techniques-for-financial-applications) — Decorators, generators, and context managers — the patterns that separate beginner Python from production quant code.
## Key Learning Outcomes
- Explain bonds: the quiet giant of finance.
- Apply what is a bond.
- Recognize yield to maturity (ytm).
- Describe duration: sensitivity to rate changes.
- Walk through the yield curve.
- Identify credit risk in bonds.
- Articulate fixed income quant work.
- Trace bonds as it applies to bonds and fixed income.
- Map fixed-income as it applies to bonds and fixed income.
- Pinpoint rates as it applies to bonds and fixed income.
- Explain how bonds and fixed income surfaces at Citadel, Two Sigma, Jane Street, or HRT.
- Apply the US regulatory framing — SEC, CFTC, FINRA — relevant to bonds and fixed income.
- Recognize a single-paragraph elevator pitch for bonds and fixed income suitable for an interviewer.
- Describe one common production failure mode of the techniques in bonds and fixed income.
- Walk through when bonds and fixed income is the wrong tool and what to use instead.
- Identify how bonds and fixed income interacts with the order management and risk gates in a US trading stack.
- Articulate a back-of-the-envelope sanity check that proves your implementation of bonds and fixed income is roughly right.
- Trace which US firms publicly hire against the skills covered in bonds and fixed income.
- Map a follow-up topic from this knowledge base that deepens bonds and fixed income.
- Pinpoint how bonds and fixed income would appear on a phone screen or onsite interview at a US quant shop.
<!-- KB_ENHANCED_BLOCK_END -->