Yield Curve Analysis

Understand curve shapes, compare five base government benchmark families, and see how compatible benchmarks fit into transparent bond repricing.

12 min read

What Is a Yield Curve?

A yield curve plots the interest rates of government bonds across different maturities, from short-term (1 month) to long-term (30 years). It is the single most watched chart in fixed-income markets because it reveals what investors collectively expect about economic growth, inflation, and central bank policy.

The x-axis shows time to maturity, the y-axis shows yield. Every point on the curve represents the rate the government must pay to borrow money for that specific duration. By connecting those points, you get a curve that tells a story about the economy's future.

Why Government Bonds?

Government bonds from stable nations are considered "risk-free" because the government can tax or print money to repay. This makes them the baseline against which all other bonds are priced. A corporate bond's yield is always expressed as the government yield plus a "credit spread."

Yield Curve Shapes

The shape of the yield curve carries powerful economic signals. There are four primary shapes, each telling a different story about where the economy is heading.

Normal

Expansion

Long-term yields higher than short-term. Investors demand more for locking up money longer. Signals healthy growth expectations.

Inverted

Recession Signal

Short-term yields exceed long-term. Investors expect rate cuts ahead. Has preceded every US recession since 1955.

Flat

Transition

Similar yields across all maturities. Often appears during transitions between normal and inverted curves. Signals policy uncertainty.

Steepening

Recovery

Gap between short and long rates is widening. Often signals early recovery as central banks hold short rates low while growth expectations rise.

Historical Context

The yield curve inverted before the 2001 dot-com bust, the 2008 financial crisis, and again in 2022-2023 ahead of the economic slowdown. No indicator is perfect, but the yield curve's track record is unmatched. The 2s10s spread (difference between 2-year and 10-year Treasury yields) is the most commonly watched version of this signal.

Timing Matters

An inverted yield curve signals a recession is coming, but the lead time varies from 6 to 24 months. Selling everything the day the curve inverts would have meant missing significant stock market gains in most historical cycles. Use it as a risk awareness tool, not a timing signal.

Our Data Sources

AllInvestView uses official government and central-bank series for five base benchmark families. Cadence varies by source, so the platform uses the latest available observation rather than describing every curve as real time.

🇨🇦

Bank of Canada

Valet API

Government of Canada benchmark bond yields. The Valet API provides machine-readable JSON with daily benchmark rates used to price all CAD-denominated fixed income.

Tenors: 1M, 3M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, 30Y
🇺🇸

US Treasury

data.treasury.gov

Daily Treasury Par Yield Curve Rates published by the US Department of the Treasury. The XML feed provides constant-maturity rates that serve as the global risk-free benchmark.

Tenors: 1M, 2M, 3M, 4M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, 30Y
🇪🇺

European Central Bank

ECB Statistical Data Warehouse

AAA-rated Euro area government bond yields. The ECB publishes a composite curve derived from the highest-rated sovereign issuers in the Eurozone, making it the cleanest EUR benchmark.

Tenors: 3M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 15Y, 20Y, 30Y
🇬🇧

Bank of England

BoE Statistical Database

UK gilt yields from the Bank of England's statistical series. Covers key benchmark maturities for GBP-denominated government bonds used to price UK corporate and municipal debt.

Tenors: 5Y, 10Y, 20Y
🇦🇺

Australian Government

RBA F2 with fallback

Australian government benchmark tenors use RBA Table F2 when available. A lower-frequency fallback provides continuity and is labelled as such in the methodology.

Primary tenors: 2Y, 3Y, 5Y, 10Y

Free and Official

The benchmark inputs come from public official sources. Eligible euro sovereign bonds can use country-specific adjustments applied to the ECB term structure for Italy, Spain, France, Portugal, Ireland, Greece and Belgium.

How We Use Yield Curves

Yield curves are not just charts to look at. For eligible bonds, they provide the benchmark component of a theoretical discount yield. The engine needs complete bond terms, a compatible benchmark and a starting price or user-set spread. The full workflow and its validation gates are documented in Inside the Bond Pricing Engine.

The Implied Spread Method

When you buy a corporate or municipal bond, you pay a yield that is higher than the equivalent government bond. That difference is the credit spread -- the premium investors demand for taking on the issuer's credit risk. Our method captures that spread at purchase and uses it to reprice your bond as interest rates move.

1

Get Benchmark

Look up the government yield curve at the bond's purchase date. Interpolate to match the bond's remaining maturity.

2

Calculate Spread

Subtract the benchmark yield from your bond's yield at purchase. This is the implied credit spread, locked in at trade time.

3

Reprice from the latest curve

Use the latest available matched benchmark, add the stored spread, and discount the remaining cash flows into a theoretical price.

Implied Spread Formula

Spread = Bond_YTM_at_purchase - Benchmark_yield_at_purchase
Today's_fair_yield = Current_benchmark_yield + Spread
Today's_price = PV(coupons + face, discounted at fair_yield)
The benchmark yield is interpolated from the government curve to match the bond's exact remaining maturity. Present value (PV) calculation uses QuantLib for precision.

This approach isolates changes in the benchmark rate while holding the stored spread constant. If Treasury yields fall, the theoretical price of a compatible USD bond generally rises. Credit deterioration is not detected automatically because AllInvestView does not use a live credit-spread feed; the spread must be recalibrated or updated when new price evidence is available.

Why Not Just Use Market Prices?

Many bonds trade infrequently. A compatible curve and anchored spread can provide a consistent theoretical reference between observed quotes. It remains a model value, not a tradable market price.

Reading the Curve

Understanding what the yield curve is telling you is one of the most valuable skills in fixed-income investing. Here is what each shape means and how it should influence your portfolio decisions.

Normal Curve (Upward Sloping)

This is the most common shape. Long-term rates are higher than short-term rates because investors demand extra compensation for the uncertainty of lending over longer periods. A normal curve signals that the economy is growing, inflation expectations are moderate, and central banks are not expected to change course dramatically.

Portfolio implication: Extending duration (buying longer-dated bonds) is rewarded with higher yields. Bond ladders work well in this environment because each successive rung offers a higher rate.

Inverted Curve

When short-term rates exceed long-term rates, the curve inverts. This is the bond market's most powerful recession signal. It means investors are so pessimistic about the economic outlook that they are willing to accept lower long-term rates, expecting central banks will be forced to cut rates aggressively.

Portfolio implication: Consider shortening duration. Short-term bonds offer higher yields with less price risk. Credit spreads tend to widen during recessions, so favor higher-quality issuers.

Flat Curve

A flat curve means similar yields across all maturities. It typically appears during transitions -- when the economy is shifting from expansion to contraction (or vice versa). There is no extra reward for taking on duration risk.

Portfolio implication: With no yield pickup for going longer, keep maturities short or intermediate. You get the same yield with less interest rate risk.

Steepening vs Flattening

The direction of change matters as much as the shape itself. A steepening curve (long rates rising faster than short rates) often signals early recovery or rising inflation expectations. A flattening curve (long rates falling toward short rates) often precedes inversions and economic slowdowns.

Curve ShapeEconomic SignalDuration StrategyCredit Strategy
Normal (steep)Healthy growthExtend for yield pickupModerate credit risk OK
FlatteningLate cycleReduce duration graduallyMove up in quality
InvertedRecession warningStay shortHigh quality only
SteepeningEarly recoveryBegin extendingSelective high-yield

Your Bonds on the Curve

AllInvestView goes beyond showing you a static yield curve. In the Bond Report, we overlay your actual bond holdings as dots on the relevant government benchmark curve, so you can instantly see where your portfolio sits.

How the Overlay Works

  • Each bond appears as a dot plotted at its remaining maturity (x-axis) and current yield (y-axis)
  • Dot size reflects position value -- larger positions appear as bigger dots so you can see concentration at a glance
  • The benchmark curve runs underneath as a line, showing the "risk-free" rate at each maturity
  • Distance above the curve represents your credit spread -- the extra yield you earn for taking on issuer risk

What to Look For

Clustering: If all your dots are bunched at one maturity, you have concentration risk. A ladder spreads dots evenly across the curve.
Spread compression: If a dot is close to the benchmark line, you are being paid very little for the issuer's credit risk. Consider whether the yield justifies the risk.
Outliers: A dot far above the curve has a wide spread -- either a high-yield opportunity or a sign of credit stress. Investigate before adding more.

Multi-Currency Support

If you hold bonds denominated in different currencies, AllInvestView maps each bond to its appropriate benchmark curve. A CAD corporate bond is plotted against the Government of Canada curve, a USD bond against the US Treasury curve, and so on. This ensures you are comparing apples to apples -- a bond's spread only makes sense relative to its own currency's risk-free rate.

Frequently Asked Questions

What is a yield curve?
A yield curve is a graph plotting the interest rates (yields) of government bonds across different maturities, from short-term (1 month) to long-term (30 years). It shows the relationship between how long you lend money and what return you receive. The shape of the curve is one of the most important economic indicators in financial markets.
What does an inverted yield curve mean?
An inverted yield curve occurs when short-term bonds yield more than long-term bonds. It has historically been one of the most reliable recession indicators, preceding every US recession since 1955. It signals that investors expect central banks to cut rates in response to an economic slowdown. However, the lead time between inversion and recession varies from 6 to 24 months.
How often are yield curve data updated?
Cadence depends on the source. The main US, Canadian, UK, ECB AAA and Australian government series are checked against the latest available official observations. Australian fallback data and euro sovereign country adjustments can update less frequently, so not every curve point is described as real time.
What is the implied spread method for bond pricing?
For a compatible benchmark, the engine derives or accepts a spread over the government curve. It later combines the latest available benchmark with that stored spread and discounts the remaining cash flows. The result is a theoretical model value, not an executable quote or a live measure of changing credit quality.
Which government yield curves does AllInvestView support?
The five base benchmark families are US Treasury, Government of Canada, UK Gilt, ECB AAA and Australian government curves. Eligible Italian, Spanish, French, Portuguese, Irish, Greek and Belgian sovereign bonds can use country-specific adjustments applied to the ECB term structure.
Can I see my bonds plotted on the yield curve?
Yes. AllInvestView's Bond Report overlays your individual bond holdings as dots on the relevant government benchmark curve. Each dot is sized by position value, so you can see portfolio concentration at a glance. The vertical distance between a dot and the benchmark line represents the credit spread you are earning for that bond's issuer risk.

See Your Bonds on the Yield Curve

Add eligible bond holdings and compare their yield and maturity with the latest available compatible government benchmark.

Get Started Free View Bond Report