Bucketed Delta

Calculates the bucketed delta of individual bonds on the Treasury curve: the change in each bond’s present value, per 100 of par, when one maturity of the curve rises by a basis point, for every maturity the Treasury quotes.

Where get_key_rate_duration shocks a zero-coupon rate with a tent around it, these deltas move the rates traders hedge with.

For the par-rate delta one par yield of the Treasury par curve rises by a basis point and the zero-coupon curve is bootstrapped again, so the deltas are the sensitivities to the notes and bonds of each maturity: a par bond maturing at a quoted maturity has a delta to that maturity only. They follow from the chain rule through the par-to-zero Jacobian of the bootstrap (see curve_risk_model.get_par_rate_delta):

\[\text{PV} = \sum(\operatorname{CF}(t) \cdot (1 + \text{Zero Rate}(t))^{- t})\] \[\text{Par Rate} \;\Delta(i) = \sum_{j}\left(\frac{\frac{\text{dPV}}{\text{dZero Rate}(j)} \cdot \text{dZero Rate}(j)}{\text{dPar Yield}(i)}\right) \cdot 0.0001\]

For the forward-rate delta the continuously compounded instantaneous forward rate between two neighbouring quoted maturities rises by a basis point, which moves every discount factor beyond it as well (see curve_risk_model.get_forward_rate_delta):

\[\text{Forward Rate} \;\Delta(i) = \sum(\operatorname{CF}(t) \cdot (1 + \text{Zero Rate}(t))^{- t} \cdot - \operatorname{Overlap}(t,\; i)) \cdot 0.0001\]

Where CF(t) are the bond’s coupons (100 * Coupon / 2) and principal on its actual coupon dates, Zero Rate(t) is the Treasury zero-coupon curve of the price date (annually compounded, bootstrapped from the par yields with the zero rate of every coupon date, see get_zero_coupon_curve, and interpolated linearly), and Overlap(t, i) is the part of the bucket of maturity i (from the previous quoted maturity to i, the first from today and the last without an end) before t. The par yields are bond-equivalent yields, compounded twice a year beyond a year. The bump of the differences is 1 basis point by default; the deltas are always per +1 basis point, in dollars per 100 of par, negative for a long position. Summed over the maturities they give the change for a parallel shift of the par curve (par) or of the continuously compounded zero rates (forward). The bonds are discounted on the Treasury curve without a spread and selected as in collect_bond_statistics; TIPS have no delta on the nominal curve. For cash flows or a curve of your own, use curve_risk_model.

Also known as: bucketed PV01, par-rate risk, forward-rate risk, DV01 ladder, partial DV01.

Example

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

from financetoolkit import FixedIncome

fixedincome = FixedIncome()

deltas = fixedincome.get_bucketed_delta(date="2026-11-05")

deltas[["Maturity", "2Y", "3Y", "5Y", "7Y", "10Y", "20Y", "30Y"]]

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

How sensitive were the benchmark 2- to 30-year US Treasuries to a basis point shift of each point on the par curve, from 2 to 30 years, on 5 November 2026?

Which returns:

Parameters

get_bucketed_delta accepts the following parameters.

ParameterTypeDescriptionExample
methodLiteral["par", "forward"]The delta. Options are: “par” (the par-rate delta), “forward” (the forward-rate delta). Defaults to “par”."par"
bumpfloatThe move of a rate up and down in the differences (decimal). Defaults to 0.0001.0.0001
bondslist[str] | str | NoneCUSIPs or ISINs, see collect_bond_statistics. Defaults to None.None
issuerlist[str] | str | NonePart of an issuer’s name, such as “Apple”. Defaults to None.None
etfslist[str] | str | NoneThe bond ETFs to select bonds from, see get_bond_universe. Defaults to None.None
maturity_startstr | NoneThe earliest maturity (YYYY-MM-DD). Defaults to None.None
maturity_endstr | NoneThe latest maturity (YYYY-MM-DD). Defaults to None.None
datestr | NoneThe day of the Treasury prices (YYYY-MM-DD). Defaults to None, the latest day with prices."2025-03-31"
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