25#ifndef quantlib_cpicapfloor_hpp
26#define quantlib_cpicapfloor_hpp
69 const Date& startDate,
77 ext::shared_ptr<ZeroInflationIndex> inflationIndex,
89 const ext::shared_ptr<ZeroInflationIndex>&
index()
const {
return index_; }
110 ext::shared_ptr<ZeroInflationIndex>
index_;
126 ext::shared_ptr<ZeroInflationIndex>
index;
134 CPICapFloor::results> {};
BusinessDayConvention payConvention
CPI::InterpolationType observationInterpolation
ext::shared_ptr< ZeroInflationIndex > index
BusinessDayConvention fixConvention
void validate() const override
void setupArguments(PricingEngine::arguments *) const override
bool isExpired() const override
returns whether the instrument might have value greater than zero.
ext::shared_ptr< ZeroInflationIndex > index_
Period observationLag() const
Option::Type type() const
CPI::InterpolationType observationInterpolation_
BusinessDayConvention payConvention_
Rate strike() const
in the above formula.
BusinessDayConvention fixConvention_
const ext::shared_ptr< ZeroInflationIndex > & index() const
template base class for option pricing engines
Abstract instrument class.
Coupon paying a zero-inflation index.
BusinessDayConvention
Business Day conventions.
base classes for inflation indexes
Abstract instrument class.
InterpolationType
when you observe an index, how do you interpolate between fixings?
@ AsIndex
same interpolation as index