Logo
Reference manual - version qle_version
Public Member Functions | List of all members
yoyInflationLeg Class Reference

#include <qle/cashflows/yoyinflationcoupon.hpp>

Public Member Functions

 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)
 
yoyInflationLegwithRateCurve (const Handle< YieldTermStructure > &rateCurve)
 
yoyInflationLegwithInflationNotional (bool addInflationNotional_)
 
 operator Leg () const
 

Detailed Description

Helper class building a sequence of capped/floored yoy inflation coupons payoff is: spread + gearing x index