CPI cap floor helper. More...
#include <qle/models/cpicapfloorhelper.hpp>
Public Member Functions | |
CpiCapFloorHelper (Option::Type type, Real baseCPI, const Date &maturity, const Calendar &fixCalendar, BusinessDayConvention fixConvention, const Calendar &payCalendar, BusinessDayConvention payConvention, Real strike, const Handle< ZeroInflationIndex > &infIndex, const Period &observationLag, Real marketPremium, CPI::InterpolationType observationInterpolation=CPI::AsIndex, BlackCalibrationHelper::CalibrationErrorType errorType=BlackCalibrationHelper::RelativePriceError) | |
Real | modelValue () const override |
Real | blackPrice (Volatility volatility) const override |
void | addTimesTo (std::list< Time > &) const override |
QuantLib::ext::shared_ptr< CPICapFloor > | instrument () const |
Private Attributes | |
QuantLib::ext::shared_ptr< CPICapFloor > | instrument_ |
CPI cap floor helper.
Definition at line 39 of file cpicapfloorhelper.hpp.
CpiCapFloorHelper | ( | Option::Type | type, |
Real | baseCPI, | ||
const Date & | maturity, | ||
const Calendar & | fixCalendar, | ||
BusinessDayConvention | fixConvention, | ||
const Calendar & | payCalendar, | ||
BusinessDayConvention | payConvention, | ||
Real | strike, | ||
const Handle< ZeroInflationIndex > & | infIndex, | ||
const Period & | observationLag, | ||
Real | marketPremium, | ||
CPI::InterpolationType | observationInterpolation = CPI::AsIndex , |
||
BlackCalibrationHelper::CalibrationErrorType | errorType = BlackCalibrationHelper::RelativePriceError |
||
) |
Definition at line 27 of file cpicapfloorhelper.cpp.
|
override |
Definition at line 45 of file cpicapfloorhelper.cpp.
|
override |
Definition at line 51 of file cpicapfloorhelper.cpp.
|
override |
Definition at line 50 of file cpicapfloorhelper.hpp.
QuantLib::ext::shared_ptr< CPICapFloor > instrument | ( | ) | const |
Definition at line 52 of file cpicapfloorhelper.hpp.
|
private |
Definition at line 55 of file cpicapfloorhelper.hpp.