24#ifndef quantext_cpi_bachelier_capfloor_engine_hpp
25#define quantext_cpi_bachelier_capfloor_engine_hpp
34 const QuantLib::Handle<QuantLib::CPIVolatilitySurface>& surface,
35 const bool ttmFromLastAvailableFixing =
false)
40 virtual double optionPriceImpl(QuantLib::Option::Type type,
double forward,
double strike,
double stdDev,
41 double discount)
const override;
virtual ~CPIBachelierCapFloorEngine()=default
CPIBachelierCapFloorEngine(const QuantLib::Handle< QuantLib::YieldTermStructure > &discountCurve, const QuantLib::Handle< QuantLib::CPIVolatilitySurface > &surface, const bool ttmFromLastAvailableFixing=false)
virtual double optionPriceImpl(QuantLib::Option::Type type, double forward, double strike, double stdDev, double discount) const override
Basse Class for Black / Bachelier CPI cap floor pricing engines.
CPI cap/floor engine using the Black pricing formula and interpreting the volatility data as lognorma...