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/instruments/makecds"
MakeCreditDefaultSwap
Class MakeCreditDefaultSwap
helper class
This class provides a more comfortable way to instantiate standard cds.
Hierarchy
MakeCreditDefaultSwap
Implements
NullaryFunction
<
CreditDefaultSwap
>
Index
Properties
_coupon
Rate
_coupon
Tenor
_day
Counter
_engine
_last
Period
Day
Counter
_nominal
_side
_tenor
_term
Date
_upfront
Rate
Methods
f
init1
init2
with
Coupon
Tenor
with
Day
Counter
with
Last
Period
Day
Counter
with
Nominal
with
Pricing
Engine
with
Side
with
Upfront
Rate
Properties
Private
_coupon
Rate
_coupon
Rate
:
Real
Private
_coupon
Tenor
_coupon
Tenor
:
Period
Private
_day
Counter
_day
Counter
:
DayCounter
Private
_engine
_engine
:
PricingEngine
Private
_last
Period
Day
Counter
_last
Period
Day
Counter
:
DayCounter
Private
_nominal
_nominal
:
Real
Private
_side
_side
:
Side
Private
_tenor
_tenor
:
Period
Private
_term
Date
_term
Date
:
Date
Private
_upfront
Rate
_upfront
Rate
:
Real
Methods
f
f
(
)
:
CreditDefaultSwap
Returns
CreditDefaultSwap
init1
init1
(
tenor
:
Period
, couponRate
:
Real
)
:
MakeCreditDefaultSwap
Parameters
tenor:
Period
couponRate:
Real
Returns
MakeCreditDefaultSwap
init2
init2
(
termDate
:
Date
, couponRate
:
Real
)
:
MakeCreditDefaultSwap
Parameters
termDate:
Date
couponRate:
Real
Returns
MakeCreditDefaultSwap
with
Coupon
Tenor
with
Coupon
Tenor
(
couponTenor
:
Period
)
:
MakeCreditDefaultSwap
Parameters
couponTenor:
Period
Returns
MakeCreditDefaultSwap
with
Day
Counter
with
Day
Counter
(
dayCounter
:
DayCounter
)
:
MakeCreditDefaultSwap
Parameters
dayCounter:
DayCounter
Returns
MakeCreditDefaultSwap
with
Last
Period
Day
Counter
with
Last
Period
Day
Counter
(
lastPeriodDayCounter
:
DayCounter
)
:
MakeCreditDefaultSwap
Parameters
lastPeriodDayCounter:
DayCounter
Returns
MakeCreditDefaultSwap
with
Nominal
with
Nominal
(
nominal
:
Real
)
:
MakeCreditDefaultSwap
Parameters
nominal:
Real
Returns
MakeCreditDefaultSwap
with
Pricing
Engine
with
Pricing
Engine
(
engine
:
PricingEngine
)
:
MakeCreditDefaultSwap
Parameters
engine:
PricingEngine
Returns
MakeCreditDefaultSwap
with
Side
with
Side
(
side
:
Side
)
:
MakeCreditDefaultSwap
Parameters
side:
Side
Returns
MakeCreditDefaultSwap
with
Upfront
Rate
with
Upfront
Rate
(
upfrontRate
:
Real
)
:
MakeCreditDefaultSwap
Parameters
upfrontRate:
Real
Returns
MakeCreditDefaultSwap
Globals
"ql/instruments/makecds"
Make
Credit
Default
Swap
_coupon
Rate
_coupon
Tenor
_day
Counter
_engine
_last
Period
Day
Counter
_nominal
_side
_tenor
_term
Date
_upfront
Rate
f
init1
init2
with
Coupon
Tenor
with
Day
Counter
with
Last
Period
Day
Counter
with
Nominal
with
Pricing
Engine
with
Side
with
Upfront
Rate
helper class
This class provides a more comfortable way to instantiate standard cds.