## IRS

**is a direct subtype of Swap with functions IRS Functions, direct subtypes IRS subtypes, keys IRS keys and example object IRS#1 that represents an interest rate swap whereby a certain interest rate is exchanged for another interest rate in regular time intervals until the swap's maturity.**

*IRS*Each interest rate may be one of the types in the list Int Rate Type

Each floating payment equals:

*N(gR+s)Δt*where

**refers to the final bounded rate defined as**

*R***, where**

*R = min(max(r,f),c)***,**

*f***are the entries in**

*c***,**

*Floors 1***respectively.**

*Caps 1*Further on,

**,**

*N***,**

*g***are the notional, gearing and spread respectively, as applying to the referenced cash flow and**

*s***is the length of the respective accrual period.**

*Δt*All these parameters can be time dependent and specified as 1D-arrays

A time dependent notional may be specified through an amortization/appreciation schedule supplied as an object of type Amortization

If the notional is not constant, its increment (or decrement) in each period is paid along with the corresponding accrued interest if the above object has Change Is Paid =

*true*It is also possible to let the notional being reset on each time interval based on an observed fx rate by specifying a FX Reset Spec, provided the affected cash flows are linked to an interest rate index.

The notional amount may be also exchanged at the start or end of the swap in the case of Init Exchange =

**or Final Exchange =**

*true***respectively.**

*true*The cash flow currency is assumed to be that of the respective index.

The pricing methodology is specified in Model[IRS]