# Swap Average Term Computation

&#x20;

Swap Average Term Computation

&#x20;

The average term is calculated for a swap that underlies a European style payer swaption, which is in the calibration portfolio for a Bermudan swaption with amortizing notional (i.e., the outstanding notional is reduced from time-to-time). Given the payer swaption maturity and the average swap term pair, we then look up, from a table indexed by payer swaption maturity and underlying swap term, the corresponding Black’s implied volatility.&#x20;

&#x20;

The Black’s volatility is then applied to compute the market price for the payer swaption above; this market price is required to calibrate the short-rate volatility for pricing the Bermudan swaption above.

&#x20;

We consider a single currency Bermudan style swaption, which has underlying swap specified as follows,

&#x20;

§  reset point, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png) (expressed in years), for ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png), where ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png), with corresponding notional amount, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png), where ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png) and ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png), for some ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png),

&#x20;

§  notional payment, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png), at time, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png), for ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png),

&#x20;

§  floating-leg payment, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png), at settlement time, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png) , for ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png), where

o   ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png),

o   ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png) is the simple interest rate applicable at ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png) for the accrual period, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png),

&#x20;

§  fixed-leg payment, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image032.png), at settlement time, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png) , for ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png), where ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image034.png) is a simple, annualized rate (ref. <https://finpricing.com/lib/IrBasisCurve.html>).

&#x20;

Consider a European style payer swaption, which is in the calibration portfolio for the Bermudan swaption in Section 2.  In particular assume that the payer swaption has maturity, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image036.png), where ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png), and that its underlying swap has last reset point, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image040.png), where ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image042.png).

&#x20;

Let ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image044.png) be such that ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image046.png).  Then

&#x20;

![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image048.png)

&#x20;

is defined as the average term, expressed in years, of the swap that underlies the payer swaption above.  Next, the average swap term is expressed in days, assuming that there are 360 calendar days in a year,

&#x20;

![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image050.png).

&#x20;

Given the swaption maturity and average swap term pair, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image036.png) and ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image053.png), for the payer swaption above, we then look up, from a table indexed by payer swaption maturity and underlying swap term, the corresponding Black’s implied volatility.  The Black’s volatility is then applied to compute the market price for the payer swaption above; this market price is required to calibrate the short-rate volatility for pricing the Bermudan swaption.

&#x20;

We recommend, for operational robustness, that we include a check that the resulting average swap term is positive; if the average swap term is non-positive, an exception should be raised and handled.

&#x20;

We consider a European style payer swaption specified by

&#x20;

* maturity, June 30, 2005, and
* underlying swap’s last reset date, June 30, 2014.

&#x20;

In the table below we show the calculation of the cumulative swap term, ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image055.png), for ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image057.png), which is specified as follows.  Specifically,

&#x20;

![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image059.png)

and, for ![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image061.png),

![](file:///C:/Users/Xiao/AppData/Local/Temp/msohtmlclip1/01/clip_image063.png).

&#x20;

The cumulative term values were obtained via appropriate print statements.

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://finwhite.gitbook.io/swapaverage/swap-average-term-computation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
