Asset Swap Spread

Calculates the par and the market value asset swap spreads of US dollar corporate bonds over the swap curve: the spread over the floating rate at which a swap that pays away the bond’s coupons turns the bond into a floating rate asset worth what the investor pays. It measures a bond’s credit and liquidity against swaps rather than against government bonds, as banks that fund at floating rates see it (O’Kane, 2000, “Introduction to Asset Swaps”, Lehman Brothers; Tuckman and Serrat, 2022, Fixed Income Securities, ch. 18).

In a par asset swap the investor pays par for the bond and the swap together, and the swap settles the difference between par and the bond’s price; in a market value asset swap the investor pays the bond’s price and the floating leg runs on that amount.

The formula is as follows:

\[\text{Curve Price} = 100 \cdot \left(\sum\left(\frac{c}{2} \cdot P(t_{i})\right) + P(t_{n})\right),\;\; \text{the dirty price of the bond on the swap curve}\] \[\text{Annuity} = \sum(\delta_{j} \cdot P(s_{j})),\;\; \text{over the floating payment dates } s_{j}\] \[\text{Par Asset Swap Spread} = \frac{\text{Curve Price} - \text{Dirty Price}}{100 \cdot \text{Annuity}}\] \[\text{Market Value Asset Swap Spread} = \frac{\text{Curve Price} - \text{Dirty Price}}{\text{Dirty Price} \cdot \text{Annuity}}\]

where P(t) = (1 + r(t))^(-t) is the discount factor of the annually compounded US dollar zero rate r(t) of the curve on the bond’s Price Date, c the coupon rate, \(t_{i}\) the semi-annual coupon dates counted back from maturity in years on the 30/360 Bond Basis (as get_bond_universe prices the bonds), Dirty Price = Price + Accrued Interest per 100 of par, and \(\delta_{j} = 1\) / float_frequency the accrual of the floating periods from the Price Date to maturity (a short first period). The spreads are simple annual rates on the floating leg.

The default curve is EIOPA’s US dollar risk-free rate term structure, which EIOPA derives from US dollar swap rates, of the last month end on or before each bond’s Price Date; the government curve is the Treasury zero-coupon curve of the Price Date instead, which gives the asset swap spread over Treasuries. For a bond and curve of your own, use swap_model.get_asset_swap_spread.

Also known as: ASW, asset swap spread, par-par asset swap, proceeds asset swap, market value asset swap.

Example

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

from financetoolkit import FixedIncome

fixedincome = FixedIncome(end_date='2026-11-20', api_key="FINANCIAL_MODELING_PREP_KEY")

spreads = fixedincome.get_asset_swap_spread(issuer="APPLE INC")

spreads[["Coupon", "Maturity", "Price", "Par Asset Swap Spread", "Market Value Asset Swap Spread"]]

Which returns:

Parameters

get_asset_swap_spread accepts the following parameters.

ParameterTypeDescriptionExample
issuerlist[str] | str | NoneKeeps the bonds whose issuer contains this text (case-insensitive), e.g. “APPLE”, or any of several. Defaults to None, every issuer.None, every issuer
bondslist[str] | str | NoneKeeps the bonds with these ISINs or CUSIPs, as a list or a comma-separated string. Defaults to None, every bond.None, every bond
maturity_startstr | NoneKeeps the bonds maturing on or after this date (YYYY-MM-DD). Defaults to None.None
maturity_endstr | NoneKeeps the bonds maturing on or before this date (YYYY-MM-DD). Defaults to None.None
etfslist[str] | str | NoneThe bond ETFs to read the bonds from (see get_bond_universe). Defaults to None, LQD, IGSB and USHY.None, LQD, IGSB and USHY
curvestrThe swap curve. Options are: “eiopa” (EIOPA’s US dollar risk-free rate term structure), “government” (the Treasury zero-coupon curve). Defaults to “eiopa”."eiopa"
float_frequencyintThe number of floating payments per year of the swap. Defaults to 4 (quarterly).4 (quarterly)
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