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/barrieroption/vannavolgadoublebarrierengine"
VannaVolgaDoubleBarrierEngine
Class VannaVolgaDoubleBarrierEngine
Vanna Volga double-barrier option engine
Hierarchy
GenericEngine
<
Arguments
,
Results
>
VannaVolgaDoubleBarrierEngine
Implements
Observable
Observer
PricingEngine
Index
Constructors
constructor
Properties
Double
Barrier
Engine
_T
_adapt
Van
Delta
_arguments
_atm
Vol
_bs
Price
With
Smile
_domesticTS
_foreignTS
_is
Disposed
_observables
_observers
_results
_series
_spotFX
_vol25
Call
_vol25
Put
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
reset
update
vvdbe
Init
Constructors
constructor
new
Vanna
Volga
Double
Barrier
Engine
(
DoubleBarrierEngine
:
any
)
:
VannaVolgaDoubleBarrierEngine
Parameters
DoubleBarrierEngine:
any
Returns
VannaVolgaDoubleBarrierEngine
Properties
Double
Barrier
Engine
Double
Barrier
Engine
:
any
Private
_T
_T
:
Time
Private
_adapt
Van
Delta
_adapt
Van
Delta
:
boolean
_arguments
_arguments
:
Arguments
Private
_atm
Vol
_atm
Vol
:
Handle
<
DeltaVolQuote
>
Private
_bs
Price
With
Smile
_bs
Price
With
Smile
:
Real
Private
_domesticTS
_domesticTS
:
Handle
<
YieldTermStructure
>
Private
_foreignTS
_foreignTS
:
Handle
<
YieldTermStructure
>
_is
Disposed
_is
Disposed
:
boolean
= false
_observables
_observables
:
Set
<
Observable
>
= new Set()
_observers
_observers
:
Set
<
Observer
>
= new Set()
_results
_results
:
Results
Private
_series
_series
:
Integer
Private
_spotFX
_spotFX
:
Handle
<
Quote
>
Private
_vol25
Call
_vol25
Call
:
Handle
<
DeltaVolQuote
>
Private
_vol25
Put
_vol25
Put
:
Handle
<
DeltaVolQuote
>
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
reset
reset
(
)
:
void
Returns
void
update
update
(
)
:
void
Returns
void
vvdbe
Init
vvdbe
Init
(
atmVol
:
Handle
<
DeltaVolQuote
>
, vol25Put
:
Handle
<
DeltaVolQuote
>
, vol25Call
:
Handle
<
DeltaVolQuote
>
, spotFX
:
Handle
<
Quote
>
, domesticTS
:
Handle
<
YieldTermStructure
>
, foreignTS
:
Handle
<
YieldTermStructure
>
, adaptVanDelta
?:
boolean
, bsPriceWithSmile
?:
Real
, series
?:
Size
)
:
VannaVolgaDoubleBarrierEngine
Parameters
atmVol:
Handle
<
DeltaVolQuote
>
vol25Put:
Handle
<
DeltaVolQuote
>
vol25Call:
Handle
<
DeltaVolQuote
>
spotFX:
Handle
<
Quote
>
domesticTS:
Handle
<
YieldTermStructure
>
foreignTS:
Handle
<
YieldTermStructure
>
Default value
adaptVanDelta:
boolean
= false
Default value
bsPriceWithSmile:
Real
= 0
Default value
series:
Size
= 5
Returns
VannaVolgaDoubleBarrierEngine
Globals
"ql/experimental/barrieroption/vannavolgadoublebarrierengine"
Vanna
Volga
Double
Barrier
Engine
constructor
Double
Barrier
Engine
_T
_adapt
Van
Delta
_arguments
_atm
Vol
_bs
Price
With
Smile
_domesticTS
_foreignTS
_is
Disposed
_observables
_observers
_results
_series
_spotFX
_vol25
Call
_vol25
Put
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
reset
update
vvdbe
Init
Vanna Volga double-barrier option engine