QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
Loading...
Searching...
No Matches
yoyInflationLeg Class Reference

Helper class building a sequence of capped/floored yoy inflation coupons. More...

#include <ql/cashflows/yoyinflationcoupon.hpp>

Public Member Functions

 yoyInflationLeg (Schedule schedule, Calendar cal, ext::shared_ptr< YoYInflationIndex > index, const Period &observationLag, CPI::InterpolationType interpolation)
 yoyInflationLeg (Schedule schedule, Calendar cal, ext::shared_ptr< YoYInflationIndex > index, const Period &observationLag)
yoyInflationLegwithNotionals (Real notional)
yoyInflationLegwithNotionals (const std::vector< Real > &notionals)
yoyInflationLegwithPaymentDayCounter (const DayCounter &)
yoyInflationLegwithPaymentAdjustment (BusinessDayConvention)
yoyInflationLegwithFixingDays (Natural fixingDays)
yoyInflationLegwithFixingDays (const std::vector< Natural > &fixingDays)
yoyInflationLegwithGearings (Real gearing)
yoyInflationLegwithGearings (const std::vector< Real > &gearings)
yoyInflationLegwithSpreads (Spread spread)
yoyInflationLegwithSpreads (const std::vector< Spread > &spreads)
yoyInflationLegwithCaps (Rate cap)
yoyInflationLegwithCaps (const std::vector< Rate > &caps)
yoyInflationLegwithFloors (Rate floor)
yoyInflationLegwithFloors (const std::vector< Rate > &floors)
 operator Leg () const

Detailed Description

Helper class building a sequence of capped/floored yoy inflation coupons.

Constructor & Destructor Documentation

◆ yoyInflationLeg()

yoyInflationLeg ( Schedule schedule,
Calendar cal,
ext::shared_ptr< YoYInflationIndex > index,
const Period & observationLag )
Deprecated
Use the overload that passes an interpolation type instead. Deprecated in version 1.36.