Internal Design of CPI CapFloor Engine¶
Overview¶
A consumer price index (CPI) Cap/Floor is a call/put on the CPI.
Implemention¶
This engine uses the linear interpolation method (\(linearInterpolation2D\)) as defined in L1 to calculate the price based on time (the difference between the maturity date and the reference date with unit in year) and strike rate. The linear interpolation mothed implements 2-dimensional linear interpolation.