24#ifndef quantlib_inflation_coupon_pricer_hpp
25#define quantlib_inflation_coupon_pricer_hpp
81 const ext::shared_ptr<InflationCouponPricer>&);
121 Real effStrike)
const;
123 Real effStrike)
const;
Base class for cash flows.
Bachelier-formula pricer for capped/floored yoy inflation coupons.
Real optionletPriceImp(Option::Type, Real strike, Real forward, Real stdDev) const override
BachelierYoYInflationCouponPricer(const Handle< YieldTermStructure > &nominalTermStructure)
BachelierYoYInflationCouponPricer()
BachelierYoYInflationCouponPricer(const Handle< YoYOptionletVolatilitySurface > &capletVol, const Handle< YieldTermStructure > &nominalTermStructure)
Black-formula pricer for capped/floored yoy inflation coupons.
Real optionletPriceImp(Option::Type, Real strike, Real forward, Real stdDev) const override
BlackYoYInflationCouponPricer(const Handle< YieldTermStructure > &nominalTermStructure)
BlackYoYInflationCouponPricer(const Handle< YoYOptionletVolatilitySurface > &capletVol, const Handle< YieldTermStructure > &nominalTermStructure)
BlackYoYInflationCouponPricer()
Shared handle to an observable.
Base inflation-coupon class.
Base inflation-coupon pricer.
virtual Real capletPrice(Rate effectiveCap) const =0
virtual Real floorletPrice(Rate effectiveFloor) const =0
virtual Rate capletRate(Rate effectiveCap) const =0
virtual Rate floorletRate(Rate effectiveFloor) const =0
virtual Real swapletPrice() const =0
virtual Rate swapletRate() const =0
QL_DEPRECATED_DISABLE_WARNING InflationCouponPricer()=default
virtual void initialize(const InflationCoupon &)=0
~InflationCouponPricer() override=default
template class providing a null value for a given type.
Object that notifies its changes to a set of observers.
Object that gets notified when a given observable changes.
Unit-Displaced-Black-formula pricer for capped/floored yoy inflation coupons.
Real optionletPriceImp(Option::Type, Real strike, Real forward, Real stdDev) const override
UnitDisplacedBlackYoYInflationCouponPricer(const Handle< YoYOptionletVolatilitySurface > &capletVol, const Handle< YieldTermStructure > &nominalTermStructure)
UnitDisplacedBlackYoYInflationCouponPricer(const Handle< YieldTermStructure > &nominalTermStructure)
UnitDisplacedBlackYoYInflationCouponPricer()
Interest-rate term structure.
Coupon paying a YoY-inflation type index
base pricer for capped/floored YoY inflation coupons
void initialize(const InflationCoupon &) override
Real capletPrice(Rate effectiveCap) const override
Rate floorletRate(Rate effectiveFloor) const override
virtual Rate adjustedFixing(Rate fixing=Null< Rate >()) const
Handle< YieldTermStructure > nominalTermStructure_
virtual Real optionletPrice(Option::Type optionType, Real effStrike) const
const YoYInflationCoupon * coupon_
virtual Handle< YieldTermStructure > nominalTermStructure() const
virtual Handle< YoYOptionletVolatilitySurface > capletVolatility() const
virtual Real optionletRate(Option::Type optionType, Real effStrike) const
virtual Real optionletPriceImp(Option::Type, Real strike, Real forward, Real stdDev) const
YoYInflationCouponPricer()=default
Rate swapletRate() const override
Real floorletPrice(Rate effectiveFloor) const override
Real swapletPrice() const override
virtual void setCapletVolatility(const Handle< YoYOptionletVolatilitySurface > &capletVol)
Handle< YoYOptionletVolatilitySurface > capletVol_
data
Rate capletRate(Rate effectiveCap) const override
Real Spread
spreads on interest rates
void setCouponPricer(const Leg &leg, const ext::shared_ptr< FloatingRateCouponPricer > &pricer)
std::vector< ext::shared_ptr< CashFlow > > Leg
Sequence of cash-flows.
#define QL_DEPRECATED_DISABLE_WARNING
#define QL_DEPRECATED_ENABLE_WARNING
Coupon paying a yoy inflation index.
yoy inflation volatility structures