24#ifndef quantlib_pricers_inflation_capfloor_hpp
25#define quantlib_pricers_inflation_capfloor_hpp
34 class YoYOptionletVolatilitySurface;
35 class YoYInflationIndex;
50 ext::shared_ptr<YoYInflationIndex>
index()
const {
return index_;}
64 ext::shared_ptr<YoYInflationIndex>
index_;
89 const ext::shared_ptr<YoYInflationIndex>&,
103 const ext::shared_ptr<YoYInflationIndex>&,
Shared handle to an observable.
Unit Displaced Black-formula inflation cap/floor engine (standalone, i.e. no coupon pricer)
Real optionletImpl(Option::Type, Real strike, Real forward, Real stdDev, Real d) const override
descendents only need to implement this
Black-formula inflation cap/floor engine (standalone, i.e. no coupon pricer)
Real optionletImpl(Option::Type, Real strike, Real forward, Real stdDev, Real d) const override
descendents only need to implement this
base class for cap/floor engines
Base YoY inflation cap/floor engine.
void setVolatility(const Handle< YoYOptionletVolatilitySurface > &vol)
ext::shared_ptr< YoYInflationIndex > index() const
ext::shared_ptr< YoYInflationIndex > index_
Handle< YieldTermStructure > nominalTermStructure_
void calculate() const override
virtual Real optionletImpl(Option::Type type, Rate strike, Rate forward, Real stdDev, Real d) const =0
descendents only need to implement this
Handle< YieldTermStructure > nominalTermStructure() const
Handle< YoYOptionletVolatilitySurface > volatility_
Handle< YoYOptionletVolatilitySurface > volatility() const
Unit Displaced Black-formula inflation cap/floor engine (standalone, i.e. no coupon pricer)
Real optionletImpl(Option::Type, Real strike, Real forward, Real stdDev, Real d) const override
descendents only need to implement this
inflation cap and floor class, just year-on-year variety for now
yoy inflation volatility structures