Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"mixins/ql/termstructures/yieldtermstructureinterpolatedcurvelazyobject"
YieldTermStructureInterpolatedCurveLazyObject
Class YieldTermStructureInterpolatedCurveLazyObject
Hierarchy
YieldTermStructureInterpolatedCurveLazyObject
PiecewiseYieldCurve
Implements
Observable
Observer
Extrapolator
TermStructure
YieldTermStructure
InterpolatedCurve
LazyObject
Index
Properties
_always
Forward
_calculated
_calendar
_data
_day
Counter
_extrapolate
_frozen
_interpolation
_interpolator
_is
Disposed
_jump
Dates
_jump
Times
_jumps
_latest
Reference
_max
Date
_moving
_n
Jumps
_observables
_observers
_reference
Date
_settlement
Days
_times
_updated
allows
Extrapolation
always
Forward
Notifications
calculate
calendar
check
Range1
check
Range2
curve
Init1
curve
Init2
curve
Init3
curve
Init4
curve
Init5
curve
Init6
day
Counter
deep
Update
disable
Extrapolation
discount1
discount2
dispose
enable
Extrapolation
forward
Rate1
forward
Rate2
forward
Rate3
freeze
ic
Init1
ic
Init2
ic
Init3
ic
Init4
ic
Init5
is
Disposed
jump
Dates
jump
Times
max
Time
notify
Observers
recalculate
reference
Date
register
Observer
register
With
register
With
Observables
set
Jumps
settlement
Days
setup
Interpolation
time
From
Reference
ts
Init1
ts
Init2
ts
Init3
unfreeze
unregister
Observer
unregister
With
unregister
With
All
yts
Init1
yts
Init2
yts
Init3
zero
Rate1
zero
Rate2
Methods
data
dates
discount
Impl
max
Date
nodes
perform
Calculations
times
update
Properties
_always
Forward
_always
Forward
:
boolean
= false
_calculated
_calculated
:
boolean
= false
_calendar
_calendar
:
Calendar
_data
_data
:
Real
[]
_day
Counter
_day
Counter
:
DayCounter
_extrapolate
_extrapolate
:
boolean
= false
_frozen
_frozen
:
boolean
= false
_interpolation
_interpolation
:
Interpolation
_interpolator
_interpolator
:
Interpolator
_is
Disposed
_is
Disposed
:
boolean
= false
_jump
Dates
_jump
Dates
:
Date
[]
_jump
Times
_jump
Times
:
Time
[]
_jumps
_jumps
:
Array
<
Handle
<
Quote
>
>
_latest
Reference
_latest
Reference
:
Date
_max
Date
_max
Date
:
Date
_moving
_moving
:
boolean
_n
Jumps
_n
Jumps
:
Size
_observables
_observables
:
Set
<
Observable
>
= new Set()
_observers
_observers
:
Set
<
Observer
>
= new Set()
_reference
Date
_reference
Date
:
Date
_settlement
Days
_settlement
Days
:
Natural
_times
_times
:
Time
[]
_updated
_updated
:
boolean
allows
Extrapolation
allows
Extrapolation
:
(
)
=>
boolean
Type declaration
(
)
:
boolean
Returns
boolean
always
Forward
Notifications
always
Forward
Notifications
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
calculate
calculate
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
calendar
calendar
:
(
)
=>
Calendar
Type declaration
(
)
:
Calendar
Returns
Calendar
check
Range1
check
Range1
:
(
d
:
Date
, extrapolate
:
boolean
)
=>
void
Type declaration
(
d
:
Date
, extrapolate
:
boolean
)
:
void
Parameters
d:
Date
extrapolate:
boolean
Returns
void
check
Range2
check
Range2
:
(
t
:
Time
, extrapolate
:
boolean
)
=>
void
Type declaration
(
t
:
Time
, extrapolate
:
boolean
)
:
void
Parameters
t:
Time
extrapolate:
boolean
Returns
void
curve
Init1
curve
Init1
:
(
dates
:
Date
[]
, dfs
:
DiscountFactor
[]
, dayCounter
:
DayCounter
, calendar
?:
Calendar
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
=>
YieldCurve
Type declaration
(
dates
:
Date
[]
, dfs
:
DiscountFactor
[]
, dayCounter
:
DayCounter
, calendar
?:
Calendar
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
:
YieldCurve
Parameters
dates:
Date
[]
dfs:
DiscountFactor
[]
dayCounter:
DayCounter
Optional
calendar:
Calendar
Optional
jumps:
Array
<
Handle
<
Quote
>
>
Optional
jumpDates:
Date
[]
Returns
YieldCurve
curve
Init2
curve
Init2
:
(
dates
:
Date
[]
, dfs
:
DiscountFactor
[]
, dayCounter
:
DayCounter
, calendar
:
Calendar
)
=>
YieldCurve
Type declaration
(
dates
:
Date
[]
, dfs
:
DiscountFactor
[]
, dayCounter
:
DayCounter
, calendar
:
Calendar
)
:
YieldCurve
Parameters
dates:
Date
[]
dfs:
DiscountFactor
[]
dayCounter:
DayCounter
calendar:
Calendar
Returns
YieldCurve
curve
Init3
curve
Init3
:
(
dates
:
Date
[]
, dfs
:
DiscountFactor
[]
, dayCounter
:
DayCounter
)
=>
YieldCurve
Type declaration
(
dates
:
Date
[]
, dfs
:
DiscountFactor
[]
, dayCounter
:
DayCounter
)
:
YieldCurve
Parameters
dates:
Date
[]
dfs:
DiscountFactor
[]
dayCounter:
DayCounter
Returns
YieldCurve
curve
Init4
curve
Init4
:
(
dayCounter
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
=>
YieldCurve
Type declaration
(
dayCounter
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
:
YieldCurve
Parameters
dayCounter:
DayCounter
Optional
jumps:
Array
<
Handle
<
Quote
>
>
Optional
jumpDates:
Date
[]
Returns
YieldCurve
curve
Init5
curve
Init5
:
(
referenceDate
:
Date
, dayCounter
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
=>
YieldCurve
Type declaration
(
referenceDate
:
Date
, dayCounter
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
:
YieldCurve
Parameters
referenceDate:
Date
dayCounter:
DayCounter
Optional
jumps:
Array
<
Handle
<
Quote
>
>
Optional
jumpDates:
Date
[]
Returns
YieldCurve
curve
Init6
curve
Init6
:
(
settlementDays
:
Natural
, calendar
:
Calendar
, dayCounter
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
=>
YieldCurve
Type declaration
(
settlementDays
:
Natural
, calendar
:
Calendar
, dayCounter
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
:
YieldCurve
Parameters
settlementDays:
Natural
calendar:
Calendar
dayCounter:
DayCounter
Optional
jumps:
Array
<
Handle
<
Quote
>
>
Optional
jumpDates:
Date
[]
Returns
YieldCurve
day
Counter
day
Counter
:
(
)
=>
DayCounter
Type declaration
(
)
:
DayCounter
Returns
DayCounter
deep
Update
deep
Update
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
disable
Extrapolation
disable
Extrapolation
:
(
b
:
boolean
)
=>
void
Type declaration
(
b
:
boolean
)
:
void
Parameters
b:
boolean
Returns
void
discount1
discount1
:
(
d
:
Date
, extrapolate
?:
boolean
)
=>
DiscountFactor
Type declaration
(
d
:
Date
, extrapolate
?:
boolean
)
:
DiscountFactor
Parameters
d:
Date
Optional
extrapolate:
boolean
Returns
DiscountFactor
discount2
discount2
:
(
t
:
Time
, extrapolate
?:
boolean
)
=>
DiscountFactor
Type declaration
(
t
:
Time
, extrapolate
?:
boolean
)
:
DiscountFactor
Parameters
t:
Time
Optional
extrapolate:
boolean
Returns
DiscountFactor
dispose
dispose
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
enable
Extrapolation
enable
Extrapolation
:
(
b
:
boolean
)
=>
void
Type declaration
(
b
:
boolean
)
:
void
Parameters
b:
boolean
Returns
void
forward
Rate1
forward
Rate1
:
(
d1
:
Date
, d2
:
Date
, resultDayCounter
:
DayCounter
, comp
:
Compounding
, freq
?:
Frequency
, extrapolate
?:
boolean
)
=>
InterestRate
Type declaration
(
d1
:
Date
, d2
:
Date
, resultDayCounter
:
DayCounter
, comp
:
Compounding
, freq
?:
Frequency
, extrapolate
?:
boolean
)
:
InterestRate
Parameters
d1:
Date
d2:
Date
resultDayCounter:
DayCounter
comp:
Compounding
Optional
freq:
Frequency
Optional
extrapolate:
boolean
Returns
InterestRate
forward
Rate2
forward
Rate2
:
(
d
:
Date
, p
:
Period
, resultDayCounter
:
DayCounter
, comp
:
Compounding
, freq
?:
Frequency
, extrapolate
?:
boolean
)
=>
InterestRate
Type declaration
(
d
:
Date
, p
:
Period
, resultDayCounter
:
DayCounter
, comp
:
Compounding
, freq
?:
Frequency
, extrapolate
?:
boolean
)
:
InterestRate
Parameters
d:
Date
p:
Period
resultDayCounter:
DayCounter
comp:
Compounding
Optional
freq:
Frequency
Optional
extrapolate:
boolean
Returns
InterestRate
forward
Rate3
forward
Rate3
:
(
t1
:
Time
, t2
:
Time
, comp
:
Compounding
, freq
?:
Frequency
, extrapolate
?:
boolean
)
=>
InterestRate
Type declaration
(
t1
:
Time
, t2
:
Time
, comp
:
Compounding
, freq
?:
Frequency
, extrapolate
?:
boolean
)
:
InterestRate
Parameters
t1:
Time
t2:
Time
comp:
Compounding
Optional
freq:
Frequency
Optional
extrapolate:
boolean
Returns
InterestRate
freeze
freeze
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
ic
Init1
ic
Init1
:
(
times
:
Time
[]
, data
:
Real
[]
, i
?:
Interpolator
)
=>
InterpolatedCurve
Type declaration
(
times
:
Time
[]
, data
:
Real
[]
, i
?:
Interpolator
)
:
InterpolatedCurve
Parameters
times:
Time
[]
data:
Real
[]
Optional
i:
Interpolator
Returns
InterpolatedCurve
ic
Init2
ic
Init2
:
(
times
:
Time
[]
, i
?:
Interpolator
)
=>
InterpolatedCurve
Type declaration
(
times
:
Time
[]
, i
?:
Interpolator
)
:
InterpolatedCurve
Parameters
times:
Time
[]
Optional
i:
Interpolator
Returns
InterpolatedCurve
ic
Init3
ic
Init3
:
(
n
:
Size
, i
?:
Interpolator
)
=>
InterpolatedCurve
Type declaration
(
n
:
Size
, i
?:
Interpolator
)
:
InterpolatedCurve
Parameters
n:
Size
Optional
i:
Interpolator
Returns
InterpolatedCurve
ic
Init4
ic
Init4
:
(
i
?:
Interpolator
)
=>
InterpolatedCurve
Type declaration
(
i
?:
Interpolator
)
:
InterpolatedCurve
Parameters
Optional
i:
Interpolator
Returns
InterpolatedCurve
ic
Init5
ic
Init5
:
(
i
:
InterpolatedCurve
)
=>
InterpolatedCurve
Type declaration
(
i
:
InterpolatedCurve
)
:
InterpolatedCurve
Parameters
i:
InterpolatedCurve
Returns
InterpolatedCurve
is
Disposed
is
Disposed
:
boolean
jump
Dates
jump
Dates
:
(
)
=>
Date
[]
Type declaration
(
)
:
Date
[]
Returns
Date
[]
jump
Times
jump
Times
:
(
)
=>
Time
[]
Type declaration
(
)
:
Time
[]
Returns
Time
[]
max
Time
max
Time
:
(
)
=>
Time
Type declaration
(
)
:
Time
Returns
Time
notify
Observers
notify
Observers
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
recalculate
recalculate
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
reference
Date
reference
Date
:
(
)
=>
Date
Type declaration
(
)
:
Date
Returns
Date
register
Observer
register
Observer
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
register
With
register
With
:
(
h
:
Observable
)
=>
void
Type declaration
(
h
:
Observable
)
:
void
Parameters
h:
Observable
Returns
void
register
With
Observables
register
With
Observables
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
set
Jumps
set
Jumps
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
settlement
Days
settlement
Days
:
(
)
=>
Natural
Type declaration
(
)
:
Natural
Returns
Natural
setup
Interpolation
setup
Interpolation
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
time
From
Reference
time
From
Reference
:
(
date
:
Date
)
=>
Time
Type declaration
(
date
:
Date
)
:
Time
Parameters
date:
Date
Returns
Time
ts
Init1
ts
Init1
:
(
dc
:
DayCounter
)
=>
TermStructure
Type declaration
(
dc
:
DayCounter
)
:
TermStructure
Parameters
dc:
DayCounter
Returns
TermStructure
ts
Init2
ts
Init2
:
(
referenceDate
:
Date
, calendar
:
Calendar
, dc
:
DayCounter
)
=>
TermStructure
Type declaration
(
referenceDate
:
Date
, calendar
:
Calendar
, dc
:
DayCounter
)
:
TermStructure
Parameters
referenceDate:
Date
calendar:
Calendar
dc:
DayCounter
Returns
TermStructure
ts
Init3
ts
Init3
:
(
settlementDays
:
Natural
, calendar
:
Calendar
, dc
:
DayCounter
)
=>
TermStructure
Type declaration
(
settlementDays
:
Natural
, calendar
:
Calendar
, dc
:
DayCounter
)
:
TermStructure
Parameters
settlementDays:
Natural
calendar:
Calendar
dc:
DayCounter
Returns
TermStructure
unfreeze
unfreeze
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
unregister
Observer
unregister
Observer
:
(
o
:
Observer
)
=>
void
Type declaration
(
o
:
Observer
)
:
void
Parameters
o:
Observer
Returns
void
unregister
With
unregister
With
:
(
h
:
Observable
)
=>
Size
Type declaration
(
h
:
Observable
)
:
Size
Parameters
h:
Observable
Returns
Size
unregister
With
All
unregister
With
All
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
yts
Init1
yts
Init1
:
(
dc
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
=>
YieldTermStructure
Type declaration
(
dc
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
:
YieldTermStructure
Parameters
dc:
DayCounter
Optional
jumps:
Array
<
Handle
<
Quote
>
>
Optional
jumpDates:
Date
[]
Returns
YieldTermStructure
yts
Init2
yts
Init2
:
(
referenceDate
:
Date
, calendar
:
Calendar
, dc
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
=>
YieldTermStructure
Type declaration
(
referenceDate
:
Date
, calendar
:
Calendar
, dc
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
:
YieldTermStructure
Parameters
referenceDate:
Date
calendar:
Calendar
dc:
DayCounter
Optional
jumps:
Array
<
Handle
<
Quote
>
>
Optional
jumpDates:
Date
[]
Returns
YieldTermStructure
yts
Init3
yts
Init3
:
(
settlementDays
:
Natural
, calendar
:
Calendar
, dc
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
=>
YieldTermStructure
Type declaration
(
settlementDays
:
Natural
, calendar
:
Calendar
, dc
:
DayCounter
, jumps
?:
Array
<
Handle
<
Quote
>
>
, jumpDates
?:
Date
[]
)
:
YieldTermStructure
Parameters
settlementDays:
Natural
calendar:
Calendar
dc:
DayCounter
Optional
jumps:
Array
<
Handle
<
Quote
>
>
Optional
jumpDates:
Date
[]
Returns
YieldTermStructure
zero
Rate1
zero
Rate1
:
(
d
:
Date
, resultDayCounter
:
DayCounter
, comp
:
Compounding
, freq
?:
Frequency
, extrapolate
?:
boolean
)
=>
InterestRate
Type declaration
(
d
:
Date
, resultDayCounter
:
DayCounter
, comp
:
Compounding
, freq
?:
Frequency
, extrapolate
?:
boolean
)
:
InterestRate
Parameters
d:
Date
resultDayCounter:
DayCounter
comp:
Compounding
Optional
freq:
Frequency
Optional
extrapolate:
boolean
Returns
InterestRate
zero
Rate2
zero
Rate2
:
(
t
:
Time
, comp
:
Compounding
, freq
?:
Frequency
, extrapolate
?:
boolean
)
=>
InterestRate
Type declaration
(
t
:
Time
, comp
:
Compounding
, freq
?:
Frequency
, extrapolate
?:
boolean
)
:
InterestRate
Parameters
t:
Time
comp:
Compounding
Optional
freq:
Frequency
Optional
extrapolate:
boolean
Returns
InterestRate
Methods
data
data
(
)
:
Real
[]
Returns
Real
[]
dates
dates
(
)
:
Date
[]
Returns
Date
[]
discount
Impl
discount
Impl
(
t
:
Time
)
:
DiscountFactor
Parameters
t:
Time
Returns
DiscountFactor
max
Date
max
Date
(
)
:
Date
Returns
Date
nodes
nodes
(
)
:
Array
<
[
Date
,
Real
]
>
Returns
Array
<
[
Date
,
Real
]
>
perform
Calculations
perform
Calculations
(
)
:
void
Returns
void
times
times
(
)
:
Time
[]
Returns
Time
[]
update
update
(
)
:
void
Returns
void
Globals
"mixins/ql/termstructures/yieldtermstructureinterpolatedcurvelazyobject"
Yield
Term
Structure
Interpolated
Curve
Lazy
Object
_always
Forward
_calculated
_calendar
_data
_day
Counter
_extrapolate
_frozen
_interpolation
_interpolator
_is
Disposed
_jump
Dates
_jump
Times
_jumps
_latest
Reference
_max
Date
_moving
_n
Jumps
_observables
_observers
_reference
Date
_settlement
Days
_times
_updated
allows
Extrapolation
always
Forward
Notifications
calculate
calendar
check
Range1
check
Range2
curve
Init1
curve
Init2
curve
Init3
curve
Init4
curve
Init5
curve
Init6
day
Counter
deep
Update
disable
Extrapolation
discount1
discount2
dispose
enable
Extrapolation
forward
Rate1
forward
Rate2
forward
Rate3
freeze
ic
Init1
ic
Init2
ic
Init3
ic
Init4
ic
Init5
is
Disposed
jump
Dates
jump
Times
max
Time
notify
Observers
recalculate
reference
Date
register
Observer
register
With
register
With
Observables
set
Jumps
settlement
Days
setup
Interpolation
time
From
Reference
ts
Init1
ts
Init2
ts
Init3
unfreeze
unregister
Observer
unregister
With
unregister
With
All
yts
Init1
yts
Init2
yts
Init3
zero
Rate1
zero
Rate2
data
dates
discount
Impl
max
Date
nodes
perform
Calculations
times
update