QuantLib
A free/open-source library for quantitative finance
Reference manual - version 1.20
Public Member Functions | List of all members
CmsSpreadLeg Class Reference

helper class building a sequence of capped/floored cms-spread-rate coupons More...

#include <ql/experimental/coupons/cmsspreadcoupon.hpp>

Public Member Functions

 CmsSpreadLeg (const Schedule &schedule, const ext::shared_ptr< SwapSpreadIndex > &swapSpreadIndex)
 
CmsSpreadLegwithNotionals (Real notional)
 
CmsSpreadLegwithNotionals (const std::vector< Real > &notionals)
 
CmsSpreadLegwithPaymentDayCounter (const DayCounter &)
 
CmsSpreadLegwithPaymentAdjustment (BusinessDayConvention)
 
CmsSpreadLegwithFixingDays (Natural fixingDays)
 
CmsSpreadLegwithFixingDays (const std::vector< Natural > &fixingDays)
 
CmsSpreadLegwithGearings (Real gearing)
 
CmsSpreadLegwithGearings (const std::vector< Real > &gearings)
 
CmsSpreadLegwithSpreads (Spread spread)
 
CmsSpreadLegwithSpreads (const std::vector< Spread > &spreads)
 
CmsSpreadLegwithCaps (Rate cap)
 
CmsSpreadLegwithCaps (const std::vector< Rate > &caps)
 
CmsSpreadLegwithFloors (Rate floor)
 
CmsSpreadLegwithFloors (const std::vector< Rate > &floors)
 
CmsSpreadLeginArrears (bool flag=true)
 
CmsSpreadLegwithZeroPayments (bool flag=true)
 
 operator Leg () const
 

Detailed Description

helper class building a sequence of capped/floored cms-spread-rate coupons