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/digitalcmsspreadcoupon"
DigitalCmsSpreadLeg
Class DigitalCmsSpreadLeg
helper class building a sequence of digital ibor-rate coupons
Hierarchy
DigitalCmsSpreadLeg
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
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
Spread
Leg
(
schedule
:
Schedule
, index
:
SwapSpreadIndex
)
:
DigitalCmsSpreadLeg
Parameters
schedule:
Schedule
index:
SwapSpreadIndex
Returns
DigitalCmsSpreadLeg
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
:
SwapSpreadIndex
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
)
:
DigitalCmsSpreadLeg
Parameters
Default value
flag:
boolean
= true
Returns
DigitalCmsSpreadLeg
with
CallATM
with
CallATM
(
flag
?:
boolean
)
:
DigitalCmsSpreadLeg
Parameters
Default value
flag:
boolean
= true
Returns
DigitalCmsSpreadLeg
with
Call
Payoffs1
with
Call
Payoffs1
(
payoff
:
Rate
)
:
DigitalCmsSpreadLeg
Parameters
payoff:
Rate
Returns
DigitalCmsSpreadLeg
with
Call
Payoffs2
with
Call
Payoffs2
(
payoffs
:
Rate
[]
)
:
DigitalCmsSpreadLeg
Parameters
payoffs:
Rate
[]
Returns
DigitalCmsSpreadLeg
with
Call
Strikes1
with
Call
Strikes1
(
strike
:
Rate
)
:
DigitalCmsSpreadLeg
Parameters
strike:
Rate
Returns
DigitalCmsSpreadLeg
with
Call
Strikes2
with
Call
Strikes2
(
strikes
:
Rate
[]
)
:
DigitalCmsSpreadLeg
Parameters
strikes:
Rate
[]
Returns
DigitalCmsSpreadLeg
with
Fixing
Days1
with
Fixing
Days1
(
fixingDays
:
Natural
)
:
DigitalCmsSpreadLeg
Parameters
fixingDays:
Natural
Returns
DigitalCmsSpreadLeg
with
Fixing
Days2
with
Fixing
Days2
(
fixingDays
:
Natural
[]
)
:
DigitalCmsSpreadLeg
Parameters
fixingDays:
Natural
[]
Returns
DigitalCmsSpreadLeg
with
Gearings1
with
Gearings1
(
gearing
:
Real
)
:
DigitalCmsSpreadLeg
Parameters
gearing:
Real
Returns
DigitalCmsSpreadLeg
with
Gearings2
with
Gearings2
(
gearings
:
Real
[]
)
:
DigitalCmsSpreadLeg
Parameters
gearings:
Real
[]
Returns
DigitalCmsSpreadLeg
with
Long
Put
Option
with
Long
Put
Option
(
type
:
Type
)
:
DigitalCmsSpreadLeg
Parameters
type:
Type
Returns
DigitalCmsSpreadLeg
with
Notionals1
with
Notionals1
(
notional
:
Real
)
:
DigitalCmsSpreadLeg
Parameters
notional:
Real
Returns
DigitalCmsSpreadLeg
with
Notionals2
with
Notionals2
(
notionals
:
Real
[]
)
:
DigitalCmsSpreadLeg
Parameters
notionals:
Real
[]
Returns
DigitalCmsSpreadLeg
with
Payment
Adjustment
with
Payment
Adjustment
(
convention
:
BusinessDayConvention
)
:
DigitalCmsSpreadLeg
Parameters
convention:
BusinessDayConvention
Returns
DigitalCmsSpreadLeg
with
Payment
Day
Counter
with
Payment
Day
Counter
(
dayCounter
:
DayCounter
)
:
DigitalCmsSpreadLeg
Parameters
dayCounter:
DayCounter
Returns
DigitalCmsSpreadLeg
with
PutATM
with
PutATM
(
flag
?:
boolean
)
:
DigitalCmsSpreadLeg
Parameters
Default value
flag:
boolean
= true
Returns
DigitalCmsSpreadLeg
with
Put
Payoffs1
with
Put
Payoffs1
(
payoff
:
Rate
)
:
DigitalCmsSpreadLeg
Parameters
payoff:
Rate
Returns
DigitalCmsSpreadLeg
with
Put
Payoffs2
with
Put
Payoffs2
(
payoffs
:
Rate
[]
)
:
DigitalCmsSpreadLeg
Parameters
payoffs:
Rate
[]
Returns
DigitalCmsSpreadLeg
with
Put
Strikes1
with
Put
Strikes1
(
strike
:
Rate
)
:
DigitalCmsSpreadLeg
Parameters
strike:
Rate
Returns
DigitalCmsSpreadLeg
with
Put
Strikes2
with
Put
Strikes2
(
strikes
:
Rate
[]
)
:
DigitalCmsSpreadLeg
Parameters
strikes:
Rate
[]
Returns
DigitalCmsSpreadLeg
with
Replication
with
Replication
(
replication
?:
DigitalReplication
)
:
DigitalCmsSpreadLeg
Parameters
Default value
replication:
DigitalReplication
= new DigitalReplication()
Returns
DigitalCmsSpreadLeg
with
Spreads1
with
Spreads1
(
spread
:
Spread
)
:
DigitalCmsSpreadLeg
Parameters
spread:
Spread
Returns
DigitalCmsSpreadLeg
with
Spreads2
with
Spreads2
(
spreads
:
Spread
[]
)
:
DigitalCmsSpreadLeg
Parameters
spreads:
Spread
[]
Returns
DigitalCmsSpreadLeg
Globals
"ql/experimental/coupons/digitalcmsspreadcoupon"
Digital
Cms
Spread
Coupon
Digital
Cms
Spread
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
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
helper class building a sequence of digital ibor-rate coupons