26#ifndef quantlib_instruments_make_yoyinflation_capfloor_hpp
27#define quantlib_instruments_make_yoyinflation_capfloor_hpp
41 ext::shared_ptr<YoYInflationIndex> index,
44 const Period& observationLag);
52 const ext::shared_ptr<PricingEngine>& engine);
61 operator ext::shared_ptr<YoYInflationCapFloor>()
const ;
67 ext::shared_ptr<YoYInflationIndex>
index_;
Shared handle to an observable.
MakeYoYInflationCapFloor & asOptionlet(bool b=true)
only get last coupon
MakeYoYInflationCapFloor & withStrike(Rate strike)
ext::shared_ptr< YoYInflationIndex > index_
MakeYoYInflationCapFloor & withPricingEngine(const ext::shared_ptr< PricingEngine > &engine)
bool firstCapletExcluded_
BusinessDayConvention roll_
MakeYoYInflationCapFloor & withFixingDays(Natural fixingDays)
Handle< YieldTermStructure > nominalTermStructure_
MakeYoYInflationCapFloor & withNominal(Real n)
MakeYoYInflationCapFloor & withForwardStart(Period forwardStart)
MakeYoYInflationCapFloor & withEffectiveDate(const Date &effectiveDate)
MakeYoYInflationCapFloor & withPaymentDayCounter(const DayCounter &)
MakeYoYInflationCapFloor & withFirstCapletExcluded()
ext::shared_ptr< PricingEngine > engine_
MakeYoYInflationCapFloor & withPaymentAdjustment(BusinessDayConvention)
MakeYoYInflationCapFloor & withAtmStrike(const Handle< YieldTermStructure > &nominalTermStructure)
YoYInflationCapFloor::Type capFloorType_
Base class for yoy inflation cap-like instruments.
ext::function< Real(Real)> b
BusinessDayConvention
Business Day conventions.
unsigned QL_INTEGER Natural
positive integer
std::size_t Size
size of a container
inflation cap and floor class, just year-on-year variety for now
Helper class to instantiate standard market swaps.