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/finitedifferences/fdhestondoublebarrierengine"
FdHestonDoubleBarrierEngine
Class FdHestonDoubleBarrierEngine
Finite-Differences Heston Double Barrier Option engine
Hierarchy
GenericModelEngine
<
HestonModel
,
Arguments
,
Results
>
FdHestonDoubleBarrierEngine
Implements
Observable
Observer
PricingEngine
Index
Constructors
constructor
Properties
_arguments
_damping
Steps
_is
Disposed
_leverage
Fct
_model
_observables
_observers
_results
_scheme
Desc
_t
Grid
_v
Grid
_x
Grid
deep
Update
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
Methods
calculate
get
Arguments
get
Results
init1
init2
reset
update
Constructors
constructor
new
FdHeston
Double
Barrier
Engine
(
model
:
HestonModel
, tGrid
?:
Size
, xGrid
?:
Size
, vGrid
?:
Size
, dampingSteps
?:
Size
, schemeDesc
?:
FdmSchemeDesc
, leverageFct
?:
LocalVolTermStructure
)
:
FdHestonDoubleBarrierEngine
Parameters
model:
HestonModel
Default value
tGrid:
Size
= 100
Default value
xGrid:
Size
= 100
Default value
vGrid:
Size
= 50
Default value
dampingSteps:
Size
= 0
Default value
schemeDesc:
FdmSchemeDesc
= FdmSchemeDesc.Hundsdorfer()
Default value
leverageFct:
LocalVolTermStructure
= new LocalVolTermStructure()
Returns
FdHestonDoubleBarrierEngine
Properties
_arguments
_arguments
:
Arguments
Private
_damping
Steps
_damping
Steps
:
Size
_is
Disposed
_is
Disposed
:
boolean
= false
Private
_leverage
Fct
_leverage
Fct
:
LocalVolTermStructure
_model
_model
:
Handle
<
HestonModel
>
_observables
_observables
:
Set
<
Observable
>
= new Set()
_observers
_observers
:
Set
<
Observer
>
= new Set()
_results
_results
:
Results
Private
_scheme
Desc
_scheme
Desc
:
FdmSchemeDesc
Private
_t
Grid
_t
Grid
:
Size
Private
_v
Grid
_v
Grid
:
Size
Private
_x
Grid
_x
Grid
:
Size
deep
Update
deep
Update
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
dispose
dispose
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
is
Disposed
is
Disposed
:
boolean
notify
Observers
notify
Observers
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
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
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
Methods
calculate
calculate
(
)
:
void
Returns
void
get
Arguments
get
Arguments
(
)
:
Arguments
Returns
Arguments
get
Results
get
Results
(
)
:
Results
Returns
Results
init1
init1
(
model
?:
Handle
<
HestonModel
>
)
:
GenericModelEngine
<
HestonModel
,
Arguments
,
Results
>
Parameters
Default value
model:
Handle
<
HestonModel
>
= new Handle()
Returns
GenericModelEngine
<
HestonModel
,
Arguments
,
Results
>
init2
init2
(
model
:
HestonModel
)
:
GenericModelEngine
<
HestonModel
,
Arguments
,
Results
>
Parameters
model:
HestonModel
Returns
GenericModelEngine
<
HestonModel
,
Arguments
,
Results
>
reset
reset
(
)
:
void
Returns
void
update
update
(
)
:
void
Returns
void
Globals
"ql/experimental/finitedifferences/fdhestondoublebarrierengine"
Fd
Heston
Double
Barrier
Engine
constructor
_arguments
_damping
Steps
_is
Disposed
_leverage
Fct
_model
_observables
_observers
_results
_scheme
Desc
_t
Grid
_v
Grid
_x
Grid
deep
Update
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
calculate
get
Arguments
get
Results
init1
init2
reset
update
Finite-Differences Heston Double Barrier Option engine