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

helper class building a sequence of multiple-reset coupons More...

#include <ql/cashflows/multipleresetscoupon.hpp>

Public Member Functions

 MultipleResetsLeg (Schedule fullResetSchedule, ext::shared_ptr< IborIndex > index, Size resetsPerCoupon)
MultipleResetsLegwithNotionals (Real notional)
MultipleResetsLegwithNotionals (const std::vector< Real > &notionals)
MultipleResetsLegwithPaymentDayCounter (const DayCounter &)
MultipleResetsLegwithPaymentAdjustment (BusinessDayConvention)
MultipleResetsLegwithPaymentCalendar (const Calendar &)
MultipleResetsLegwithPaymentLag (Integer lag)
MultipleResetsLegwithFixingDays (Natural fixingDays)
MultipleResetsLegwithFixingDays (const std::vector< Natural > &fixingDays)
MultipleResetsLegwithGearings (Real gearing)
MultipleResetsLegwithGearings (const std::vector< Real > &gearings)
MultipleResetsLegwithCouponSpreads (Spread spread)
MultipleResetsLegwithCouponSpreads (const std::vector< Spread > &spreads)
MultipleResetsLegwithRateSpreads (Spread spread)
MultipleResetsLegwithRateSpreads (const std::vector< Spread > &spreads)
MultipleResetsLegwithExCouponPeriod (const Period &, const Calendar &, BusinessDayConvention, bool endOfMonth=false)
MultipleResetsLegwithAveragingMethod (RateAveraging::Type averagingMethod)
 operator Leg () const

Detailed Description

helper class building a sequence of multiple-reset coupons

Constructor & Destructor Documentation

◆ MultipleResetsLeg()

MultipleResetsLeg ( Schedule fullResetSchedule,
ext::shared_ptr< IborIndex > index,
Size resetsPerCoupon )
Parameters
fullResetSchedulethe full schedule specifying reset periods for all coupons.
indexthe index whose fixings will be used; it should have the same tenor as the resets.
resetsPerCouponthe number of resets for each coupon; the number of periods in the schedule should be divided exactly by this number.