Zero rates and forward rates
Reading curve slope as a sequence of no-arbitrage break-even rates—not forecasts by default
01Recover zero and forward rates from discount factors.
02Distinguish instantaneous, continuously compounded and simple forwards.
03Derive a forward rate by comparing two zero-coupon strategies.
04Interpret an inverted or humped curve without equating forwards to expected future spot rates.
Separate the quote from the quantity inferred from it.
A zero rate compresses one maturity’s discount factor; a forward rate describes the marginal price of money between two dates. The forward curve is fixed by today’s discount curve under no-arbitrage, while its interpretation as an expectation requires an additional model and risk-premium view.
Average zero rates and marginal forward rates contain different information.
A smooth zero curve can imply unstable forwards if the interpolation is poorly chosen.
Forward equals expected future short rate only under a specified measure and after accounting for convexity or term premium.
Start from executable inputs and conventions.
Forwards drive FRA and swap projection, carry and roll-down, policy-path inference, and the hedge map between adjacent curve tenors.
zero-coupon bonds
FRAs
OIS forwards
swaps and futures
This lesson displays annualised continuous forwards unless labelled simple. Market contracts use their specified accrual basis and compounding.
Transform quotes without losing units or arbitrage constraints.
Interval continuous forward
The constant continuous rate implied for investing between two future dates.
Open in AnalyticsSimple forward
The money-market-style forward compatible with an accrual-period payoff.
Open in AnalyticsShort derivation
Locking a future borrowing rate with zero-coupon claims
Compare investing to T₂ directly with investing to T₁ and rolling under a rate fixed today.
- 01
Buy a T₂ unit payoff
Pay P(0,T₂) today to receive one unit at T₂.
- 02
Normalize at the forward start
A claim costing P(0,T₂)/P(0,T₁) at T₁ has the same time-zero value after discounting to today.
- 03
Invert the accumulation factor
The simple forward accumulation from T₁ to T₂ is the reciprocal of that forward-start discount price.
- 04
Take the local limit
With continuous compounding, shrink the interval to obtain the instantaneous forward as the derivative of log discount.
Forward rates are no-arbitrage coordinates of today’s curve; forecast interpretation is a separate economic claim.
Inputs
z(T): continuous zero ratef(0;T_1,T_2): interval forwardf(0,T): instantaneous forwardδ(T_1,T_2): accrual fraction
Assumptions and limits
- Forward curves amplify node noise and interpolation artifacts.
- Credit-sensitive term rates are not interchangeable with overnight forwards.
- Risk premia and convexity separate forwards from expectations.
Instantaneous forward
The local slope of log discount factors; interpolation determines its numerical behaviour.
Open in AnalyticsInvert, fit, and reprice the market instruments.
Construct forwards from one internally consistent discount representation and expose both interval and instantaneous diagnostics.
Forwards inherit the fitted curve and interpolation. Validate quote repricing and inspect forwards between every pair of adjacent pillars.
Implementation with current QuantLib
Query zeroRate and forwardRate from the same YieldTermStructure instance with explicit compounding, frequency and day count. Never compare outputs without aligning those arguments.
API authority: upstream QuantLib reference pinned in the source registry.06PYTHON IMPLEMENTATIONOpen the implementation and checks.
- Parse dated market inputs and conventions at the boundary.
- Build deterministic curve objects in the framework-free quant layer.
- Return PV, repricing residuals and sensitivities together.
- Test inversion, par conditions, monotonic dates and invalid domains.
Zero-to-forward consistency
Compute interval forwards and reconstruct the terminal discount factor.
from __future__ import annotations import math def forward(p1: float, p2: float, dt: float) -> float: if min(p1, p2, dt) <= 0: raise ValueError("positive discounts and interval required") return math.log(p1 / p2) / dt p1 = math.exp(-0.025 * 2.0)p2 = math.exp(-0.034 * 5.0)f = forward(p1, p2, 3.0)reconstructed = p1 * math.exp(-f * 3.0)assert abs(reconstructed - p2) < 1e-12print(f"2y5y continuous forward={f:.4%}")Move the quote and inspect every linked representation.
Zero/forward curve laboratory
Switch normal, inverted and humped regimes; compare averages, marginal forwards and discount-factor reconstruction.
Normal: Rising zeros and forwards.
- zero rate
- segment forward
Use Left/Right or Up/Down arrows to inspect values; Home and End jump to the bounds.
Where the model meets the book.
“A forward is what today’s curve locks—not an unqualified prediction of where fixing will print.”
discount pillars
interpolation rule
compounding
day-count basis
forward interval
Forwards inherit the fitted curve and interpolation. Validate quote repricing and inspect forwards between every pair of adjacent pillars.
RISKslope and butterfly risk
interpolation risk
forward-start basis
convexity
- normalize discount factors
- derive zero view
- derive forwards
- inspect jumps
- reconstruct and reconcile
Production failure modes
- mixed rate conventions
- negative year fraction
- node duplicates
- forward spikes hidden by zero-rate plot
09MACRO CONNECTIONOpen the transmission channel.
Forward curves as priced policy paths
Central-bank expectations move the front end, while term premia, inflation uncertainty and supply shape longer forwards.
transmitschanges expected policy timing
transmitsreprice by maturity
transmitslocalises the move
outputselects level, slope or butterfly
10COMMON PITFALLSOpen the failure checklist.
Calling the forward curve a pure forecast.
Comparing simple and continuous forwards directly.
Using zero-rate interpolation without inspecting implied forwards.
Dropping the accrual basis from a term-rate payoff.
11SOURCES / FURTHER READINGOpen sources and continue the track.
Interest-rate products, term structures and short-rate lectures
Research map for the rates progression and numerical experiments; all platform prose and code are original.
- Source
- Financial Engineering: Interest Rates & xVA
- Author
- L. A. Grzelak
- Ref
- main
Stochastic processes, Monte Carlo and model-calibration lectures
Mathematical cross-reference for stochastic dynamics and implementation checks.
- Source
- Computational Finance Course
- Author
- L. A. Grzelak
- Ref
- main
Current term structures, indexes, rate helpers, instruments, engines and tests
Implementation authority for production abstractions; Academy derives the mathematics before introducing library objects.
- Source
- QuantLib upstream
- Author
- QuantLib contributors
- Ref
- v1.42.1