Duration overlay calculator

Calculators › Strategies › Duration Overlay

Basic: one curve discounts the liabilities and the bonds, and discounts and forecasts the swaps.

Terms

Liabilities

The liabilities are valued on the discounting curve, each payment on or after the settlement date counted.

Bonds
Bond 1

Scaled, the faces entered are multiplied by one factor so that the bonds are worth the liabilities; with one bond, the face entered only starts the scaling.

Bond conventions
Swaps
Swap 1
20-Oct-2046
Solved

One swap's notional is solved so that it closes the total DV01 gap; it receives fixed when the gap needs more duration and pays when it needs less.

Swap conventions

Market Data

Discounting and forecasting curve
DateRate, %Remove

Calculation Settings

Black values are calculated: the spot date is two working days after the value date, a maturity entered as a tenor counts to the anniversary of the spot date, the face values can be scaled so that the bonds are worth the liabilities, each notional is solved and a fixed rate left blank is fair; you can change them. What you enter isn't stored.

Results

Select a figure to see its formula.

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.

A duration overlay leaves the bonds as they are and adds interest rate swaps so that the bonds and swaps together have the interest rate risk of the liabilities. The calculator opens on the glossary's worked example, dated today: 30 yearly payments of 10,000,000, matched by one 7-year bond worth as much, and a 20-year swap receiving fixed.

  • Liabilities are regular payments (an amount, how many, the first date and the frequency) or a table of dates and amounts you can paste, each valued on the discounting curve. You can enter a target instead: a DV01, or a modified duration for the bonds and swaps together.
  • Bonds: up to six, each a fixed coupon bond or a zero coupon bond, valued on the discounting curve at a spread you enter. Their face values are as entered, or scaled by one factor so that the bonds are worth the liabilities.
  • Swaps: one swap closing the total DV01 gap, or up to four, each closing the gap in its own bucket of the discounting curve. Each receives fixed where the gap needs more duration and pays where it needs less; its notional is solved, and its fixed rate is fair unless you enter one for a swap already held. A maturity is a date, or a tenor such as 20Y that counts to the anniversary of the spot date; by bucket, each is a tenor on the curve, in order.
  • Basic values everything on one curve. Advanced adds a forecasting curve for the swaps' floating legs, as in the glossary's example.
  • Market Data has two parts. Raw: the discounting curve (and at Advanced the forecasting curve), the swaps' last reset rate and each bond's spread, as entered. Calculated: the zero rate and discount factor at each point of the curves, and at each bond's and swap's maturity the discounting curve's zero rate and discount factor, with each swap's fair rate.

Stand-in figures. While the calculator service is being connected, the figures are computed in your browser by a copy of the GIAnalyzer formulas. On the example's own dates they give the glossary's published figures, the scenarios included.

How the figures are calculated

  • The liabilities: their value and risk on the discounting curve by GIA_Bonds_Cashflows_ValueFromCurve and GIA_Bonds_Cashflows_RiskFromCurve, each payment on or after the settlement date counted.
  • Each bond: its dirty value and risk on the discounting curve at its spread by GIA_Bonds_FixedBullet_ValueFromCurve and …_RiskFromCurve, or the GIA_Bonds_ZeroCoupon_… functions. The bonds' modified duration is each bond's weighted by its value.
  • Each swap: its value and risk by GIA_IRD_Generic_Value and GIA_IRD_Generic_Risk, its fair rate by GIA_IRD_IRSFloatFixed_Price or GIA_IRD_IRSFixedFloat_Price. Each starts at the spot date; its first floating rate is set by the last reset rate.
  • The gap: the liabilities' figure less the bonds' (a target's DV01 less the bonds'), and after the overlay less the swaps' too. A target duration is a DV01 of the bonds' value: the duration times the value, over 10,000.
  • Solved figures: GIAnalyzer has no function for them. The formula bar gives the DV01 left after the overlay for a notional, and the bonds' value less the liabilities' for a scaled face value: Goal Seek in Excel sets either to zero, and Solver sets every bucket's to zero by changing the notionals.
  • Key rates: KR01 at each point of the discounting curve and DV01 by bucket, for each position and the gap before and after. By bucket, the buckets are the swaps' own: from the curve's first point to the shortest swap, then from each swap to the next.
  • Scenarios: every position revalued on the curves moved, each bond keeping its spread: parallel shifts of the step and the large move either way, and a steeper and a flatter curve, the 2-year rate moving by half the slope step one way and the 30-year rate by half the other, in proportion in between and flat beyond. The surplus is the bonds' value less the liabilities': before the overlay, and after it with the swaps' change in value, their variation margin. The graph gives both for parallel shifts from −200 bp to +200 bp.
  • Dates: the spot date is two weekdays after the value date. Holidays are not taken into account; enter a date for one.

The bonds and interest rate derivatives methodologies describe the models, and the function reference every argument: bonds given as cash flows, fixed coupon bullet bonds, zero coupon bonds and the generic swap functions.