Treasury Inflation-Protected Securities (TIPS)

Calculates the index ratio, inflation-adjusted price and breakeven inflation rate of every US Treasury Inflation-Protected Security (TIPS) from its FedInvest price: how much inflation has lifted each security’s principal and what inflation its price implies.

TIPS pay a fixed real coupon on a principal that grows with the Consumer Price Index (CPI-U, not seasonally adjusted). They are quoted per 100 of inflation-adjusted principal, a real price whose yield is a real yield; what a buyer pays per 100 of par is that price times the index ratio, the inflation accrued since the security’s dated date. The nominal Treasury yield of the same maturity less the real yield is the inflation rate at which the two earn the same: the breakeven inflation rate of the security.

The formula is as follows:

\[\text{Ref CPI} \;(\text{Date}) = \text{CPI}_{M-3} + \frac{t - 1}{D} \cdot (\text{CPI}_{M-2} - \text{CPI}_{M-3}),\;\; \text{for day } t \text{ of month } M \text{ with } D \text{ days}\] \[\text{Index Ratio} = \frac{\text{Ref CPI} \;(\text{Date})}{\text{Ref CPI}} \;(\text{Dated Date})\] \[\text{Adjusted Price} = \text{Price} \cdot \text{Index Ratio},\;\; \text{and}\;\; \text{Adjusted Accrued Interest} = \text{Accrued Interest} \cdot \text{Index Ratio}\] \[\text{Real Yield:}\;\; \text{the rate } y \text{ at which the real coupons and principal},\;\; \text{discounted at} \;\left(1 + \frac{y}{2}\right) \;\text{per half year},\;\; \text{are worth the price plus accrued interest (see get\_yield\_to\_maturity)}\] \[\text{Breakeven Inflation Rate} = \text{Nominal Yield} - \text{Real Yield}\]

where the reference CPI and the index ratio are truncated to six decimal places and rounded to five (31 CFR 356, Appendix B, I.B), the reference CPI of the dated date is the one TreasuryDirect publishes with the security, and the Nominal Yield is the Treasury par yield (bond-equivalent, compounded semi-annually) at the security’s maturity on the price date, interpolated linearly between the curve’s maturities. Yields are compounded semi-annually; the time in the current coupon period is counted in actual days (actual/actual). A month the BLS did not report the CPI for (October 2025) takes the index number the Treasury announced in its place, from the last twelve-month change.

QuantLib’s CPI interpolation is linear with three months’ lag. The Treasury’s own figures are reproduced: the reference CPI of 30 November 2026 is 336.87467, the index ratio of 91282CRE3 on that day 1.00870.

See definition: treasurydirect.gov

Also known as: TIPS index ratio, inflation-adjusted principal, real yield, TIPS breakeven, inflation compensation, reference CPI.

Example

Install the Finance Toolkit with pip install financetoolkit -U, then call get_treasury_inflation_protected_securities:

from financetoolkit import FixedIncome

fixedincome = FixedIncome()

tips = fixedincome.get_treasury_inflation_protected_securities(date="2026-11-19")

tips[["Maturity", "Index Ratio", "Real Yield", "Nominal Yield", "Breakeven Inflation Rate"]]

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

What real yields and breakeven inflation rates did the five longest US TIPS trade at on 19 November 2026?

Which returns:

Parameters

get_treasury_inflation_protected_securities accepts the following parameters.

ParameterTypeDescriptionExample
datestr | NoneThe day of the FedInvest prices (YYYY-MM-DD); a weekend or holiday uses the business day before it. Defaults to None, the latest day with prices."2025-03-31"
bondslist[str] | str | NoneKeeps the TIPS with these CUSIPs (or their US ISINs). Defaults to None, every TIPS.None, every TIPS
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the class.2
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column

References

Share