Sub topic 16
Duration of a Bond Portfolio
This chapter assumes you can compute modified duration and PVBP for a single bond. It also assumes you know that a duration-based estimate of price change is only an approximation. Here you extend those measures to a portfolio of several bonds. You will also see where the extension breaks down.
Why a Portfolio Needs One Number
A manager holding dozens of bonds wants to answer one question: if rates move, how much does the whole portfolio change in value? Re-pricing every bond is slow, and a single portfolio duration gives a fast estimate. It also lets the manager compare the portfolio with a benchmark and decide whether to shorten or lengthen exposure.
There are two ways to get the number. The first is simple and widely used. The second is more rigorous but harder to apply.
Method 1: Weighted Average of Bond Durations
Portfolio duration is the average of the individual bond durations, weighted by each bond's share of the portfolio's market value:
Portfolio duration = w1 × D1 + w2 × D2 + ... + wn × Dn
Here wi is bond i's market value divided by total portfolio market value. Di is its modified duration, or its effective duration if the bond has embedded options.
Three details matter:
- Use market values, not par amounts. A bond trading at 80 counts for less than its face value suggests.
- Use full prices, so that accrued interest is part of each bond's market value.
- The weights must add to 1. Cash or other holdings with zero duration still count in the denominator, and they pull the portfolio duration down.
Worked Example
A 100 million portfolio holds three bonds:
| Bond | Market value | Weight | Modified duration | Contribution |
|---|---|---|---|---|
| A (short) | 40,000,000 | 0.40 | 2.0 | 0.80 |
| B (medium) | 35,000,000 | 0.35 | 5.0 | 1.75 |
| C (long) | 25,000,000 | 0.25 | 9.0 | 2.25 |
| Portfolio | 100,000,000 | 1.00 | 4.80 |
The portfolio modified duration is 4.80. For a 50 bp rise in yields, the estimated change is −4.80 × 0.005 = −2.40%, or about −2.4 million.
Computing It in Python
The function below also computes the portfolio's weighted-average convexity and its PVBP. The convexity values are hypothetical, in the same units as the formula used earlier in this tutorial.
def portfolio_measures(positions):
"""positions: list of (market_value, modified_duration, convexity)."""
total = sum(mv for mv, _, _ in positions)
duration = sum(mv * d for mv, d, _ in positions) / total
convexity = sum(mv * c for mv, _, c in positions) / total
pvbp = duration * total * 0.0001
return total, duration, convexity, pvbp
positions = [
(40_000_000, 2.0, 6.0),
(35_000_000, 5.0, 30.0),
(25_000_000, 9.0, 90.0),
]
total, dur, conv, pvbp = portfolio_measures(positions)
print(f"{total:,.0f} {dur:.2f} {conv:.1f} {pvbp:,.0f}")
dy = 0.005
print(f"duration only: {-dur * dy:.4%}")
print(f"duration + convexity: {-dur * dy + 0.5 * conv * dy ** 2:.4%}")The first line prints 100,000,000 4.80 35.4 48,000. The two estimates are −2.4000% and −2.3575%. The convexity term adds a small positive adjustment, as it did for a single bond.
Money Duration Adds Exactly
Money duration and PVBP are expressed in currency, so they sum across bonds without any weighting. In the example:
- Bond A: 2.0 × 40,000,000 × 0.0001 = 8,000
- Bond B: 5.0 × 35,000,000 × 0.0001 = 17,500
- Bond C: 9.0 × 25,000,000 × 0.0001 = 22,500
The total is 48,000, which equals 4.80 × 100,000,000 × 0.0001. The two routes agree, which is a useful check on your arithmetic. Many desks report portfolio risk as total PVBP for this reason.
Method 2: Cash Flow Yield Approach
The second method treats the portfolio as one stream of cash flows. You gather every coupon and principal payment from every bond, find the single rate that discounts them to the portfolio's market value (the cash flow yield, an IRR), and then compute the Macaulay and modified duration of that combined stream.
This is theoretically more accurate. It does not rely on a simple average of individual durations. But it has practical costs:
- It needs reliable cash flow forecasts for every bond. That is hard with callable, putable, or mortgage-backed securities.
- It must be recomputed whenever holdings change.
- The result still describes sensitivity to a change in one yield, the portfolio's cash flow yield.
Because of these costs, the weighted-average method is the standard practical approach, and it is the one the Level I curriculum emphasizes.
The Main Limitation: Parallel Shifts Only
Both methods assume the whole yield curve moves by the same amount. Portfolio duration is a single number, so it cannot tell you what happens when short rates and long rates move differently.
Consider two portfolios built to have the same duration:
- A bullet portfolio holds only bonds with maturities near 5 years.
- A barbell portfolio holds half short bonds and half long bonds. Its weighted duration also comes out near 5.
Both lose about the same under a small parallel shift. If the curve steepens, the long end of the barbell loses more than the short end gains, and the two portfolios diverge. A single duration number hides this exposure, which is called yield curve risk.
The weighted-average duration is also a first-order measure. For large yield changes you need convexity. A barbell usually has more convexity than a bullet of equal duration, which matters for the duration-plus-convexity estimate from the previous chapter.
Common Errors
- Weighting by par value instead of full market value.
- Averaging Macaulay duration for some bonds and modified duration for others. Use one type consistently.
- Using modified duration for bonds with embedded options. Use effective duration for those bonds.
- Forgetting cash or zero-duration holdings in the denominator.
- Reading the result as the "average maturity" of the portfolio. Duration and maturity are different measures.
Exercises
Exercise
A portfolio has 60 million in Bond X (modified duration 3.5) and 40 million in Bond Y (modified duration 8.0). Yields rise by 25 bp in a parallel shift. What is the portfolio duration, and what is the estimated percentage price change from duration alone?
Show answer
Weights are 0.60 and 0.40. Portfolio duration = 0.60 × 3.5 + 0.40 × 8.0 = 2.1 + 3.2 = 5.3. Estimated change = −5.3 × 0.0025 = −1.325%, or about −1.33%.
Exercise
A 50 million portfolio has a PVBP of 21,000 and the manager adds a 10 million bond with a PVBP of 6,000 using borrowed funds, so the existing holdings are unchanged. What is the new total PVBP, and why can you add the two figures directly?
Show answer
The new total PVBP is 21,000 + 6,000 = 27,000. PVBP is a money measure, expressed in currency per basis point, so the amounts for separate holdings add without needing weights.