Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ql/experimental/coupons/cmsspreadcoupon"
CmsSpreadLeg
Class CmsSpreadLeg
helper class building a sequence of capped/floored cms-spread-rate coupons
Hierarchy
CmsSpreadLeg
Implements
NullaryFunction
<
Leg
>
Index
Constructors
constructor
Properties
_caps
_fixing
Days
_floors
_gearings
_in
Arrears
_notionals
_payment
Adjustment
_payment
Day
Counter
_schedule
_spreads
_swap
Spread
Index
_zero
Payments
Methods
f
in
Arrears
with
Caps1
with
Caps2
with
Fixing
Days1
with
Fixing
Days2
with
Floors1
with
Floors2
with
Gearings1
with
Gearings2
with
Notionals1
with
Notionals2
with
Payment
Adjustment
with
Payment
Day
Counter
with
Spreads1
with
Spreads2
with
Zero
Payments
Constructors
constructor
new
Cms
Spread
Leg
(
schedule
:
Schedule
, swapSpreadIndex
:
SwapSpreadIndex
)
:
CmsSpreadLeg
Parameters
schedule:
Schedule
swapSpreadIndex:
SwapSpreadIndex
Returns
CmsSpreadLeg
Properties
Private
_caps
_caps
:
Rate
[]
Private
_fixing
Days
_fixing
Days
:
Natural
[]
Private
_floors
_floors
:
Rate
[]
Private
_gearings
_gearings
:
Real
[]
Private
_in
Arrears
_in
Arrears
:
boolean
Private
_notionals
_notionals
:
Real
[]
Private
_payment
Adjustment
_payment
Adjustment
:
BusinessDayConvention
Private
_payment
Day
Counter
_payment
Day
Counter
:
DayCounter
Private
_schedule
_schedule
:
Schedule
Private
_spreads
_spreads
:
Spread
[]
Private
_swap
Spread
Index
_swap
Spread
Index
:
SwapSpreadIndex
Private
_zero
Payments
_zero
Payments
:
boolean
Methods
f
f
(
)
:
Leg
Returns
Leg
in
Arrears
in
Arrears
(
flag
?:
boolean
)
:
CmsSpreadLeg
Parameters
Default value
flag:
boolean
= true
Returns
CmsSpreadLeg
with
Caps1
with
Caps1
(
cap
:
Rate
)
:
CmsSpreadLeg
Parameters
cap:
Rate
Returns
CmsSpreadLeg
with
Caps2
with
Caps2
(
caps
:
Rate
[]
)
:
CmsSpreadLeg
Parameters
caps:
Rate
[]
Returns
CmsSpreadLeg
with
Fixing
Days1
with
Fixing
Days1
(
fixingDays
:
Natural
)
:
CmsSpreadLeg
Parameters
fixingDays:
Natural
Returns
CmsSpreadLeg
with
Fixing
Days2
with
Fixing
Days2
(
fixingDays
:
Natural
[]
)
:
CmsSpreadLeg
Parameters
fixingDays:
Natural
[]
Returns
CmsSpreadLeg
with
Floors1
with
Floors1
(
floor
:
Rate
)
:
CmsSpreadLeg
Parameters
floor:
Rate
Returns
CmsSpreadLeg
with
Floors2
with
Floors2
(
floors
:
Rate
[]
)
:
CmsSpreadLeg
Parameters
floors:
Rate
[]
Returns
CmsSpreadLeg
with
Gearings1
with
Gearings1
(
gearing
:
Real
)
:
CmsSpreadLeg
Parameters
gearing:
Real
Returns
CmsSpreadLeg
with
Gearings2
with
Gearings2
(
gearings
:
Real
[]
)
:
CmsSpreadLeg
Parameters
gearings:
Real
[]
Returns
CmsSpreadLeg
with
Notionals1
with
Notionals1
(
notional
:
Real
)
:
CmsSpreadLeg
Parameters
notional:
Real
Returns
CmsSpreadLeg
with
Notionals2
with
Notionals2
(
notionals
:
Real
[]
)
:
CmsSpreadLeg
Parameters
notionals:
Real
[]
Returns
CmsSpreadLeg
with
Payment
Adjustment
with
Payment
Adjustment
(
convention
:
BusinessDayConvention
)
:
CmsSpreadLeg
Parameters
convention:
BusinessDayConvention
Returns
CmsSpreadLeg
with
Payment
Day
Counter
with
Payment
Day
Counter
(
dayCounter
:
DayCounter
)
:
CmsSpreadLeg
Parameters
dayCounter:
DayCounter
Returns
CmsSpreadLeg
with
Spreads1
with
Spreads1
(
spread
:
Spread
)
:
CmsSpreadLeg
Parameters
spread:
Spread
Returns
CmsSpreadLeg
with
Spreads2
with
Spreads2
(
spreads
:
Spread
[]
)
:
CmsSpreadLeg
Parameters
spreads:
Spread
[]
Returns
CmsSpreadLeg
with
Zero
Payments
with
Zero
Payments
(
flag
?:
boolean
)
:
CmsSpreadLeg
Parameters
Default value
flag:
boolean
= true
Returns
CmsSpreadLeg
Globals
"ql/experimental/coupons/cmsspreadcoupon"
Capped
Floored
Cms
Spread
Coupon
Cms
Spread
Coupon
Cms
Spread
Coupon
Pricer
Cms
Spread
Leg
constructor
_caps
_fixing
Days
_floors
_gearings
_in
Arrears
_notionals
_payment
Adjustment
_payment
Day
Counter
_schedule
_spreads
_swap
Spread
Index
_zero
Payments
f
in
Arrears
with
Caps1
with
Caps2
with
Fixing
Days1
with
Fixing
Days2
with
Floors1
with
Floors2
with
Gearings1
with
Gearings2
with
Notionals1
with
Notionals2
with
Payment
Adjustment
with
Payment
Day
Counter
with
Spreads1
with
Spreads2
with
Zero
Payments
helper class building a sequence of capped/floored cms-spread-rate coupons