Asset swap calculator
Calculators › Strategies › Asset Swap
One zero curve values the bond and discounts and forecasts the swap's floating leg.
Results
Reading the calculator
Laid out as a GIAnalyzer sheet: blue values are inputs, black values are calculated. Select a figure to see its GIAnalyzer formula.
An asset swap is a fixed coupon bond bought together with an interest rate swap that pays the bond's coupons and receives a floating rate plus a spread. In the par form the buyer pays 100 for the two together, and the spread that makes the package worth par shows what the bond pays over the swap curve. The calculator opens on the fixed coupon bond calculator's Z-spread example, settled today: a 5% semiannual bond with nearly seven years to maturity, bought at a clean price of 104, 10,000,000 of face value.
- The bond: its coupon, frequency, dates and conventions, and its price per 100, clean or dirty. Its value on the zero curve is set against its dirty price.
- The swap pays the bond's coupons on the bond's own dates and receives the floating rate plus the spread on par, the first floating period from settlement. One zero curve values the bond and discounts and forecasts the floating leg; you choose the floating leg's time basis.
- Risk: the DV01 of the bond, the swap and the package, and their key-rate DV01 at each point of the curve and in each bucket. The package keeps the bond's spread and little of its rate risk.
- Scenarios: the package's profit as every rate shifts (across) and as the bond's spread over the curve changes (down), and a graph of the bond, the swap and the package against a parallel shift.
- Market Data has two parts. Raw: the bond's price, clean or dirty, and the zero curve, as entered. Calculated: the bond's accrued interest, dirty price, yield and Z-spread from its price; the zero rate and discount factor at each point of the curve; and each floating period's dates, year fraction and discount factor, with the annuity and the swap rate on those dates.
Stand-in figures. While the calculator service is being connected, the figures are computed in your browser by a copy of the GIAnalyzer formulas. The bond's Z-spread, yield and accrued interest are those of the fixed coupon bond calculator for the same bond and curve.
How the figures are calculated
- The bond: its dirty value on the curve by
GIA_Bonds_FixedBullet_ValueFromCurve, its Z-spread and yield from the price byGIA_Bonds_FixedBullet_ZspreadandGIA_Bonds_FixedBullet_YTM, the accrued interest that turns a clean price into a dirty one byGIA_Bonds_FixedBullet_AccruedInterest, and its risk at its Z-spread, as it is priced, byGIA_Bonds_FixedBullet_RiskFromCurve. - The floating leg: each period's year fraction by
GIA_IR_DaysOrYearsand the discount factor at its end byGIA_IR_DFfromIRCurve. Their products add up to the annuity, whichGIA_Bonds_Cashflows_ValueFromCurvealso gives at once, with the year fractions as the amounts. - The spreads: GIAnalyzer has no asset swap function; as in the glossary, they are arithmetic on the functions above. With V the bond's value on the curve and P its dirty price, per 100, and A the annuity, the par spread is (V − P) / (100 × A); the market value spread is the par spread × 100 / P; the swap rate on the same dates is (1 − the last discount factor) / A.
- The swap: on one curve the floating leg on par is worth 100 × (1 − the last discount factor), so the swap is worth 100 − V + 100 × spread × A to the buyer: 100 − P at the par spread. Its risk is the bond's on the curve with the sign turned, its fixed leg and final exchange, plus the spread times the annuity's risk from
GIA_Bonds_Cashflows_RiskFromCurve. The package's is the bond's and the swap's. - Key rates: KR01 at each point of the zero curve and DV01 by bucket, for the bond, the swap and the package.
- Scenarios: the package's profit against the par paid, at the face value: the bond at its Z-spread plus the spread change, less the bond on the curve, plus the spread on the annuity, all on the curve moved by the parallel shift. The swap keeps its spread. The graph gives the bond, the swap and the package for shifts from −200 bp to +200 bp, the bond's spread unchanged.
- Dates: the floating leg's dates are the bond's coupon dates after settlement. Holidays are not taken into account.
The bonds and interest rate derivatives methodologies describe the models, and the function reference every argument: fixed coupon bullet bonds, bonds given as cash flows, GIA_IR_DaysOrYears and GIA_IR_DFfromIRCurve.
