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/cashflows/cmscoupon"
CmsLeg
Class CmsLeg
Hierarchy
CmsLeg
Implements
NullaryFunction
<
Leg
>
Index
Constructors
constructor
Properties
_caps
_fixing
Days
_floors
_gearings
_in
Arrears
_notionals
_payment
Adjustment
_payment
Day
Counter
_schedule
_spreads
_swap
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
Leg
(
schedule
:
Schedule
, swapIndex
:
SwapIndex
)
:
CmsLeg
Parameters
schedule:
Schedule
swapIndex:
SwapIndex
Returns
CmsLeg
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
Index
_swap
Index
:
SwapIndex
Private
_zero
Payments
_zero
Payments
:
boolean
Methods
f
f
(
)
:
Leg
Returns
Leg
in
Arrears
in
Arrears
(
flag
?:
boolean
)
:
CmsLeg
Parameters
Default value
flag:
boolean
= true
Returns
CmsLeg
with
Caps1
with
Caps1
(
cap
:
Rate
)
:
CmsLeg
Parameters
cap:
Rate
Returns
CmsLeg
with
Caps2
with
Caps2
(
caps
:
Rate
[]
)
:
CmsLeg
Parameters
caps:
Rate
[]
Returns
CmsLeg
with
Fixing
Days1
with
Fixing
Days1
(
fixingDays
:
Natural
)
:
CmsLeg
Parameters
fixingDays:
Natural
Returns
CmsLeg
with
Fixing
Days2
with
Fixing
Days2
(
fixingDays
:
Natural
[]
)
:
CmsLeg
Parameters
fixingDays:
Natural
[]
Returns
CmsLeg
with
Floors1
with
Floors1
(
floor
:
Rate
)
:
CmsLeg
Parameters
floor:
Rate
Returns
CmsLeg
with
Floors2
with
Floors2
(
floors
:
Rate
[]
)
:
CmsLeg
Parameters
floors:
Rate
[]
Returns
CmsLeg
with
Gearings1
with
Gearings1
(
gearing
:
Real
)
:
CmsLeg
Parameters
gearing:
Real
Returns
CmsLeg
with
Gearings2
with
Gearings2
(
gearings
:
Real
[]
)
:
CmsLeg
Parameters
gearings:
Real
[]
Returns
CmsLeg
with
Notionals1
with
Notionals1
(
notional
:
Real
)
:
CmsLeg
Parameters
notional:
Real
Returns
CmsLeg
with
Notionals2
with
Notionals2
(
notionals
:
Real
[]
)
:
CmsLeg
Parameters
notionals:
Real
[]
Returns
CmsLeg
with
Payment
Adjustment
with
Payment
Adjustment
(
convention
:
BusinessDayConvention
)
:
CmsLeg
Parameters
convention:
BusinessDayConvention
Returns
CmsLeg
with
Payment
Day
Counter
with
Payment
Day
Counter
(
dayCounter
:
DayCounter
)
:
CmsLeg
Parameters
dayCounter:
DayCounter
Returns
CmsLeg
with
Spreads1
with
Spreads1
(
spread
:
Spread
)
:
CmsLeg
Parameters
spread:
Spread
Returns
CmsLeg
with
Spreads2
with
Spreads2
(
spreads
:
Spread
[]
)
:
CmsLeg
Parameters
spreads:
Spread
[]
Returns
CmsLeg
with
Zero
Payments
with
Zero
Payments
(
flag
?:
boolean
)
:
CmsLeg
Parameters
Default value
flag:
boolean
= true
Returns
CmsLeg
Globals
"ql/cashflows/cmscoupon"
Cms
Coupon
Cms
Leg
constructor
_caps
_fixing
Days
_floors
_gearings
_in
Arrears
_notionals
_payment
Adjustment
_payment
Day
Counter
_schedule
_spreads
_swap
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