ZeroCouponInflationSwap - wrong legs calculation?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ZeroCouponInflationSwap - wrong legs calculation?

Alexander Lotter
Hello all,

I checked the source code for the ZeroCouponInflationSwap and found out, that the fixed leg ist computed using the following formula:

nominal * ( 1 + fixedRate ) ^ T

For the inflation leg the formula was

nominal * ( I(T1) / I(T0) )

The right formulas in my opinion are:

Fixed Leg = nominal * ( 1 + fixedRate ) ^ T - 1 )
Inflation Leg = nominal * ( I(T1) / I(T0) - 1 )

This definition I saw in termsheets, papers and books.

Best

Alexander