38 type_(type), displacement_(displacement) {
51 type_(type), displacement_(displacement) {
62 type_(type), displacement_(displacement) {}
71 type_(type), displacement_(displacement) {}
73 ext::shared_ptr<SmileSection>
76 return ext::shared_ptr<SmileSection>(
new
80 ext::shared_ptr<SmileSection>
83 return ext::shared_ptr<SmileSection>(
new
Volatility volatilityImpl(Time, Rate) const override
implements the actual volatility calculation in derived classes
Handle< Quote > volatility_
ConstantOptionletVolatility(Natural settlementDays, const Calendar &cal, BusinessDayConvention bdc, Handle< Quote > volatility, const DayCounter &dc, VolatilityType type=ShiftedLognormal, Real displacement=0.0)
floating reference date, floating market data
ext::shared_ptr< SmileSection > smileSectionImpl(const Date &d) const override
Shared handle to an observable.
std::pair< iterator, bool > registerWith(const ext::shared_ptr< Observable > &)
Optionlet (caplet/floorlet) volatility structure.
purely virtual base class for market observables
market element returning a stored value
virtual const Date & referenceDate() const
the date at which discount = 1.0 and/or variance = 0.0
virtual DayCounter dayCounter() const
the day counter used for date/time conversion
Constant caplet/floorlet volatility.
BusinessDayConvention
Business Day conventions.
Real Time
continuous quantity with 1-year units
unsigned QL_INTEGER Natural
positive integer
Real Volatility
volatility