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/termstructures/volatility/atmsmilesection"
AtmSmileSection
Class AtmSmileSection
Hierarchy
SmileSection
AtmSmileSection
Implements
Observer
Observable
Index
Constructors
constructor
Properties
_dc
_exercise
Date
_exercise
Time
_f
_is
Disposed
_is
Floating
_observables
_observers
_reference
Date
_shift
_source
_volatility
Type
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
Methods
atm
Level
day
Counter
deep
Update
density
digital
Option
Price
exercise
Date
exercise
Time
init1
init2
initialize
Exercise
Time
max
Strike
min
Strike
option
Price
reference
Date
shift
update
variance
variance
Impl
vega
volatility1
volatility2
volatility
Impl
volatility
Type
Constructors
constructor
new
Atm
Smile
Section
(
source
:
SmileSection
, atm
?:
Real
)
:
AtmSmileSection
Parameters
source:
SmileSection
Default value
atm:
Real
= QL_NULL_REAL
Returns
AtmSmileSection
Properties
_dc
_dc
:
DayCounter
_exercise
Date
_exercise
Date
:
Date
_exercise
Time
_exercise
Time
:
Time
Private
_f
_f
:
Real
_is
Disposed
_is
Disposed
:
boolean
= false
_is
Floating
_is
Floating
:
boolean
_observables
_observables
:
Set
<
Observable
>
= new Set()
_observers
_observers
:
Set
<
Observer
>
= new Set()
_reference
Date
_reference
Date
:
Date
_shift
_shift
:
Rate
Private
_source
_source
:
SmileSection
_volatility
Type
_volatility
Type
:
VolatilityType
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
atm
Level
atm
Level
(
)
:
Real
Returns
Real
day
Counter
day
Counter
(
)
:
DayCounter
Returns
DayCounter
deep
Update
deep
Update
(
)
:
void
Returns
void
density
density
(
strike
:
Rate
, discount
?:
Real
, gap
?:
Real
)
:
Real
Parameters
strike:
Rate
Default value
discount:
Real
= 1
Default value
gap:
Real
= 0.0001
Returns
Real
digital
Option
Price
digital
Option
Price
(
strike
:
Rate
, type
?:
Type
, discount
?:
Real
, gap
?:
Real
)
:
Real
Parameters
strike:
Rate
Default value
type:
Type
= Option.Type.Call
Default value
discount:
Real
= 1
Default value
gap:
Real
= 0.00001
Returns
Real
exercise
Date
exercise
Date
(
)
:
Date
Returns
Date
exercise
Time
exercise
Time
(
)
:
Time
Returns
Time
init1
init1
(
d
:
Date
, dc
?:
DayCounter
, referenceDate
?:
Date
, type
?:
VolatilityType
, shift
?:
Rate
)
:
SmileSection
Parameters
d:
Date
Default value
dc:
DayCounter
= new DayCounter()
Default value
referenceDate:
Date
= null
Default value
type:
VolatilityType
= VolatilityType.ShiftedLognormal
Default value
shift:
Rate
= 0
Returns
SmileSection
init2
init2
(
exerciseTime
:
Time
, dc
?:
DayCounter
, type
?:
VolatilityType
, shift
?:
Rate
)
:
SmileSection
Parameters
exerciseTime:
Time
Default value
dc:
DayCounter
= new DayCounter()
Default value
type:
VolatilityType
= VolatilityType.ShiftedLognormal
Default value
shift:
Rate
= 0
Returns
SmileSection
initialize
Exercise
Time
initialize
Exercise
Time
(
)
:
void
Returns
void
max
Strike
max
Strike
(
)
:
Real
Returns
Real
min
Strike
min
Strike
(
)
:
Real
Returns
Real
option
Price
option
Price
(
strike
:
Rate
, type
?:
Type
, discount
?:
Real
)
:
Real
Parameters
strike:
Rate
Default value
type:
Type
= Option.Type.Call
Default value
discount:
Real
= 1
Returns
Real
reference
Date
reference
Date
(
)
:
Date
Returns
Date
shift
shift
(
)
:
Rate
Returns
Rate
update
update
(
)
:
void
Returns
void
variance
variance
(
strike
:
Rate
)
:
Real
Parameters
strike:
Rate
Returns
Real
variance
Impl
variance
Impl
(
strike
:
Rate
)
:
Real
Parameters
strike:
Rate
Returns
Real
vega
vega
(
strike
:
Rate
, discount
?:
Real
)
:
Real
Parameters
strike:
Rate
Default value
discount:
Real
= 1
Returns
Real
volatility1
volatility1
(
strike
:
Rate
)
:
Volatility
Parameters
strike:
Rate
Returns
Volatility
volatility2
volatility2
(
strike
:
Rate
, volatilityType
:
VolatilityType
, shift
?:
Real
)
:
Volatility
Parameters
strike:
Rate
volatilityType:
VolatilityType
Default value
shift:
Real
= 0
Returns
Volatility
volatility
Impl
volatility
Impl
(
strike
:
Rate
)
:
Real
Parameters
strike:
Rate
Returns
Real
volatility
Type
volatility
Type
(
)
:
VolatilityType
Returns
VolatilityType
Globals
"ql/termstructures/volatility/atmsmilesection"
Atm
Smile
Section
constructor
_dc
_exercise
Date
_exercise
Time
_f
_is
Disposed
_is
Floating
_observables
_observers
_reference
Date
_shift
_source
_volatility
Type
dispose
is
Disposed
notify
Observers
register
Observer
register
With
register
With
Observables
unregister
Observer
unregister
With
unregister
With
All
atm
Level
day
Counter
deep
Update
density
digital
Option
Price
exercise
Date
exercise
Time
init1
init2
initialize
Exercise
Time
max
Strike
min
Strike
option
Price
reference
Date
shift
update
variance
variance
Impl
vega
volatility1
volatility2
volatility
Impl
volatility
Type