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
--
View this message in context: http://old.nabble.com/ZeroCouponInflationSwap---wrong-legs-calculation--tp26802267p26802267.html
Sent from the quantlib-dev mailing list archive at Nabble.com.
|