HQM Corporate Bond Yield Curve

Retrieves the High Quality Market (HQM) corporate bond yield curve of the U.S. Department of the Treasury: the yields of high quality (AAA, AA and A rated) US corporate bonds by maturity, from 6 months to 100 years, monthly from 1984. The Treasury builds it for discounting long-dated liabilities, which is why it is the prescribed discount curve for US corporate pension obligations, and its long history makes it a natural basis for modelling how corporate yields and spreads move.

Two curves are available. Spot rates are zero-coupon yields, the rate to discount a single payment at that maturity, for 17 maturities. Par yields are the coupons a bond priced at par would pay, for 2, 5, 10 and 30 years, comparable to the Treasury par yield curve (see get_treasury_rates). Every value is the average over the month.

Without a FRED API key the curve comes from the Treasury’s own HQM files, which gives the same figures. When a FRED API key is set (see the fred_api_key parameter of the FixedIncome class), it comes from FRED, which republishes the Treasury’s curve. The rates are returned as decimal fractions (0.0558 for 5.58%), semi-annual bond-equivalent as the Treasury publishes them.

See definition: home.treasury.gov

Also known as: HQM curve, corporate bond yield curve, pension discount curve, AA corporate curve.

Example · 2026

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

from financetoolkit import FixedIncome

fixedincome = FixedIncome(start_date='2026-03-01', end_date='2026-08-31')

fixedincome.get_hqm_corporate_bond_yield_curve()[['1Y', '5Y', '10Y', '30Y', '100Y']]

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

How did the US Treasury's high quality market corporate bond spot rates at 1, 5, 10, 30 and 100 years move in each month from March to August 2026?

Which returns:

Parameters

get_hqm_corporate_bond_yield_curve accepts the following parameters.

ParameterTypeDescriptionExample
ratestrThe curve. Options are: “spot” (the spot rates), “par” (the par yields). Defaults to “spot”."par"
roundingint | NoneThe number of decimals to round the results to. Defaults to None.2
growthboolWhether to return the growth data or the actual data. Defaults to False.True
lagintThe number of periods to lag the growth data by. Defaults to 1.4
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
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
Share