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/digitalcmscoupon"
DigitalCmsLeg
Class DigitalCmsLeg
Hierarchy
DigitalCmsLeg
Implements
NullaryFunction
<
Leg
>
Index
Constructors
constructor
Properties
_callATM
_call
Payoffs
_call
Strikes
_fixing
Days
_gearings
_in
Arrears
_index
_long
Call
Option
_long
Put
Option
_notionals
_payment
Adjustment
_payment
Day
Counter
_putATM
_put
Payoffs
_put
Strikes
_replication
_schedule
_spreads
Methods
f
in
Arrears
with
CallATM
with
Call
Payoffs1
with
Call
Payoffs2
with
Call
Strikes1
with
Call
Strikes2
with
Fixing
Days1
with
Fixing
Days2
with
Gearings1
with
Gearings2
with
Long
Call
Option
with
Long
Put
Option
with
Notionals1
with
Notionals2
with
Payment
Adjustment
with
Payment
Day
Counter
with
PutATM
with
Put
Payoffs1
with
Put
Payoffs2
with
Put
Strikes1
with
Put
Strikes2
with
Replication
with
Spreads1
with
Spreads2
Constructors
constructor
new
Digital
Cms
Leg
(
schedule
:
Schedule
, index
:
SwapIndex
)
:
DigitalCmsLeg
Parameters
schedule:
Schedule
index:
SwapIndex
Returns
DigitalCmsLeg
Properties
Private
_callATM
_callATM
:
boolean
Private
_call
Payoffs
_call
Payoffs
:
Rate
[]
Private
_call
Strikes
_call
Strikes
:
Rate
[]
Private
_fixing
Days
_fixing
Days
:
Natural
[]
Private
_gearings
_gearings
:
Real
[]
Private
_in
Arrears
_in
Arrears
:
boolean
Private
_index
_index
:
SwapIndex
Private
_long
Call
Option
_long
Call
Option
:
Type
Private
_long
Put
Option
_long
Put
Option
:
Type
Private
_notionals
_notionals
:
Real
[]
Private
_payment
Adjustment
_payment
Adjustment
:
BusinessDayConvention
Private
_payment
Day
Counter
_payment
Day
Counter
:
DayCounter
Private
_putATM
_putATM
:
boolean
Private
_put
Payoffs
_put
Payoffs
:
Rate
[]
Private
_put
Strikes
_put
Strikes
:
Rate
[]
Private
_replication
_replication
:
DigitalReplication
Private
_schedule
_schedule
:
Schedule
Private
_spreads
_spreads
:
Spread
[]
Methods
f
f
(
)
:
Leg
Returns
Leg
in
Arrears
in
Arrears
(
flag
?:
boolean
)
:
DigitalCmsLeg
Parameters
Default value
flag:
boolean
= true
Returns
DigitalCmsLeg
with
CallATM
with
CallATM
(
flag
?:
boolean
)
:
DigitalCmsLeg
Parameters
Default value
flag:
boolean
= true
Returns
DigitalCmsLeg
with
Call
Payoffs1
with
Call
Payoffs1
(
payoff
:
Rate
)
:
DigitalCmsLeg
Parameters
payoff:
Rate
Returns
DigitalCmsLeg
with
Call
Payoffs2
with
Call
Payoffs2
(
payoffs
:
Rate
[]
)
:
DigitalCmsLeg
Parameters
payoffs:
Rate
[]
Returns
DigitalCmsLeg
with
Call
Strikes1
with
Call
Strikes1
(
strike
:
Rate
)
:
DigitalCmsLeg
Parameters
strike:
Rate
Returns
DigitalCmsLeg
with
Call
Strikes2
with
Call
Strikes2
(
strikes
:
Rate
[]
)
:
DigitalCmsLeg
Parameters
strikes:
Rate
[]
Returns
DigitalCmsLeg
with
Fixing
Days1
with
Fixing
Days1
(
fixingDays
:
Natural
)
:
DigitalCmsLeg
Parameters
fixingDays:
Natural
Returns
DigitalCmsLeg
with
Fixing
Days2
with
Fixing
Days2
(
fixingDays
:
Natural
[]
)
:
DigitalCmsLeg
Parameters
fixingDays:
Natural
[]
Returns
DigitalCmsLeg
with
Gearings1
with
Gearings1
(
gearing
:
Real
)
:
DigitalCmsLeg
Parameters
gearing:
Real
Returns
DigitalCmsLeg
with
Gearings2
with
Gearings2
(
gearings
:
Real
[]
)
:
DigitalCmsLeg
Parameters
gearings:
Real
[]
Returns
DigitalCmsLeg
with
Long
Call
Option
with
Long
Call
Option
(
type
:
Type
)
:
DigitalCmsLeg
Parameters
type:
Type
Returns
DigitalCmsLeg
with
Long
Put
Option
with
Long
Put
Option
(
type
:
Type
)
:
DigitalCmsLeg
Parameters
type:
Type
Returns
DigitalCmsLeg
with
Notionals1
with
Notionals1
(
notional
:
Real
)
:
DigitalCmsLeg
Parameters
notional:
Real
Returns
DigitalCmsLeg
with
Notionals2
with
Notionals2
(
notionals
:
Real
[]
)
:
DigitalCmsLeg
Parameters
notionals:
Real
[]
Returns
DigitalCmsLeg
with
Payment
Adjustment
with
Payment
Adjustment
(
convention
:
BusinessDayConvention
)
:
DigitalCmsLeg
Parameters
convention:
BusinessDayConvention
Returns
DigitalCmsLeg
with
Payment
Day
Counter
with
Payment
Day
Counter
(
dayCounter
:
DayCounter
)
:
DigitalCmsLeg
Parameters
dayCounter:
DayCounter
Returns
DigitalCmsLeg
with
PutATM
with
PutATM
(
flag
?:
boolean
)
:
DigitalCmsLeg
Parameters
Default value
flag:
boolean
= true
Returns
DigitalCmsLeg
with
Put
Payoffs1
with
Put
Payoffs1
(
payoff
:
Rate
)
:
DigitalCmsLeg
Parameters
payoff:
Rate
Returns
DigitalCmsLeg
with
Put
Payoffs2
with
Put
Payoffs2
(
payoffs
:
Rate
[]
)
:
DigitalCmsLeg
Parameters
payoffs:
Rate
[]
Returns
DigitalCmsLeg
with
Put
Strikes1
with
Put
Strikes1
(
strike
:
Rate
)
:
DigitalCmsLeg
Parameters
strike:
Rate
Returns
DigitalCmsLeg
with
Put
Strikes2
with
Put
Strikes2
(
strikes
:
Rate
[]
)
:
DigitalCmsLeg
Parameters
strikes:
Rate
[]
Returns
DigitalCmsLeg
with
Replication
with
Replication
(
replication
?:
DigitalReplication
)
:
DigitalCmsLeg
Parameters
Default value
replication:
DigitalReplication
= null
Returns
DigitalCmsLeg
with
Spreads1
with
Spreads1
(
spread
:
Spread
)
:
DigitalCmsLeg
Parameters
spread:
Spread
Returns
DigitalCmsLeg
with
Spreads2
with
Spreads2
(
spreads
:
Spread
[]
)
:
DigitalCmsLeg
Parameters
spreads:
Spread
[]
Returns
DigitalCmsLeg
Globals
"ql/cashflows/digitalcmscoupon"
Digital
Cms
Coupon
Digital
Cms
Leg
constructor
_callATM
_call
Payoffs
_call
Strikes
_fixing
Days
_gearings
_in
Arrears
_index
_long
Call
Option
_long
Put
Option
_notionals
_payment
Adjustment
_payment
Day
Counter
_putATM
_put
Payoffs
_put
Strikes
_replication
_schedule
_spreads
f
in
Arrears
with
CallATM
with
Call
Payoffs1
with
Call
Payoffs2
with
Call
Strikes1
with
Call
Strikes2
with
Fixing
Days1
with
Fixing
Days2
with
Gearings1
with
Gearings2
with
Long
Call
Option
with
Long
Put
Option
with
Notionals1
with
Notionals2
with
Payment
Adjustment
with
Payment
Day
Counter
with
PutATM
with
Put
Payoffs1
with
Put
Payoffs2
with
Put
Strikes1
with
Put
Strikes2
with
Replication
with
Spreads1
with
Spreads2