Global Yield Curve Shock Lab

Research lab · Rates

A four-factor shock model for a government yield curve. Pick a region, edit the baseline curve, move the policy, term premium, level and curvature factors, and read the change in yields, bond prices, carry and roll by maturity.


Inputs

Baseline par curve percent, illustrative, editable
Shocks basis points, 100 bp = 1 percentage point
Scenario:
n/a2Y yield change, bp
n/a10Y yield change, bp
n/a2s10s slope, bp, base to shocked
n/a2s5s10s fly, bp, base to shocked
n/a10Y par bond price change
n/aFX heuristic
n/aEquity multiple heuristic

FX and equity lines are rules of thumb on the real (ex level shock) 2Y spread and 10Y yield. They are not fair value estimates.


Results

Exhibit 1 Baseline and shocked curve, percent, by maturity in years
Exhibit 2 Yield change by maturity and by factor, basis points

Policy and term premium loadings sum to one at every maturity, so equal shocks to both are a parallel shift.

Exhibit 3 Price change of a par bond by maturity bucket, percent, split into duration and convexity terms
Exhibit 4 Risk and return by maturity bucket

Mod dur in years. DV01 per 100 face. Price is the exact repricing of a par bond at the shocked yield. Carry is yield over the 3M rate for the horizon, roll is the gain from sliding down the unchanged baseline curve. Total adds price, carry and roll. Breakeven is the yield rise at the horizon that erases carry plus roll.

Exhibit 5 Factor loadings by maturity, share of a 1 bp shock

Method and limits

Shocked curve. The baseline is a par curve at seven maturities m (in years). The shock is a sum of four factors with Nelson-Siegel loadings, where x = m / τ.

Δy(m) = S·Ls(m) + T·(1 − Ls(m)) + V + C·Lc(m)
Ls(m) = (1 − e−x) / x
Lc(m) = [(1 − e−x) / x − e−x] / 0.2984

S is the policy shock, T the term premium shock, V the level shock and C the curvature shock, all in basis points. Ls starts at one and decays, so S moves the front end. Its complement rises with maturity, so T moves the long end. Lc is the Nelson-Siegel hump divided by its peak value of 0.2984, so C is the move at the top of the hump, near m = 1.79·τ. A larger τ pushes all three shapes out the curve.

Price impact. Each maturity is a bond with coupon equal to the baseline yield, paid f times a year, so it starts at par. Maturities shorter than one coupon period are priced as bills. The yield shock at the node is applied to that bond's yield to maturity.

P(y) = Σ CFi / (1 + y/f)f·ti
D = (1/P) · Σ ti·CFi / (1 + y/f)f·ti + 1
K = (1/P) · Σ ti·(ti + 1/f)·CFi / (1 + y/f)f·ti + 2
ΔP/P ≈ −D·Δy + ½·K·Δy2, with Δy in decimal (1 bp = 0.0001)
DV01 = D · P · 0.0001

D is modified duration and K is convexity. The table reports the exact repricing P(y + Δy) / P(y) − 1. Exhibit 3 shows the two terms of the approximation, which track the exact number closely for moves under 200 bp.

Carry and roll. Over a horizon h (in years), with the baseline curve unchanged and funding at the 3M rate:

carry = (y(m) − y(3M)) · h
roll = −D(m − h) · (y(m − h) − y(m))
breakeven = (carry + roll) / D(m − h)

y(m − h) is linear interpolation on the baseline nodes, held flat below 3M. Carry and roll are computed on the baseline and added to the instantaneous shock, which ignores the small change in carry after the shock.

FX and equity heuristics. The level shock is read as a change in expected inflation that passes one for one into nominal yields (Fisher), so it leaves real yields unchanged. The FX line uses the change in the 2Y yield excluding the level shock, against the unshocked baseline of the other curve. The equity line uses the 10Y yield excluding the level shock.

Δ real 2Y spread = Δy(2Y) − V
Δ P/E ≈ −Deq · (Δy(10Y) − V)

Limits. The factor shapes are imposed, not estimated from data. The four factors are treated as independent, though in practice a policy shock usually moves the term premium and expected inflation too. A pure parallel inflation shock assumes the central bank does not respond. Node shocks are applied to par yields, not to a zero curve, so the bond in each bucket is repriced on its own yield. Brazilian fixed-rate bonds are quoted on a 252 business day annual compounding basis, which the coupon frequency setting only approximates. Real-rate differentials explain only part of currency moves, and the equity duration is an assumption the reader sets. Credit, liquidity, taxes and bid-offer are ignored.

Educational tool. Illustrative inputs, not live data. Not investment advice.