Properties
_alwaysForward
_alwaysForward: boolean = false
Protected _atmVol
_calculated
_calculated: boolean = false
Protected _evaluationDate
_evaluationDate: Date
_extrapolate
_extrapolate: boolean
_frozen
_frozen: boolean = false
_isDisposed
_isDisposed: boolean = false
Protected _localSmile
Protected _localStrikes
Protected _nStrikes
Protected _optionDates
_optionDates: Date[]
Protected _optionDatesAsReal
_option
DatesAsReal: Real[]
Protected _optionInterpolator
_referenceDate
_referenceDate: Date
Protected _shortSwapIndexBase
Protected _strikeSpreads
Protected _swapIndexBase
_updated
_updated: boolean
Protected _vegaWeightedSmileFit
_vegaWeightedSmileFit: boolean
Protected _volSpreads
allowsExtrapolation
allowsExtrapolation: () => boolean
alwaysForwardNotifications
alwaysForwardNotifications: () => void
blackVariance1
black
Variance1: (optionTenor: Period, swapTenor: Period, strike: Rate, extrapolate?: boolean) => Real
Type declaration
-
-
Parameters
-
optionTenor: Period
-
-
-
Optional extrapolate: boolean
blackVariance2
black
Variance2: (optionDate: Date, swapTenor: Period, strike: Rate, extrapolate?: boolean) => Real
Type declaration
-
- (optionDate: Date, swapTenor: Period, strike: Rate, extrapolate?: boolean): Real
-
Parameters
-
optionDate: Date
-
-
-
Optional extrapolate: boolean
blackVariance3
black
Variance3: (optionTime: Time, swapTenor: Period, strike: Rate, extrapolate?: boolean) => Real
Type declaration
-
-
Parameters
-
optionTime: Time
-
-
-
Optional extrapolate: boolean
blackVariance4
black
Variance4: (optionTenor: Period, swapLength: Time, strike: Rate, extrapolate?: boolean) => Real
Type declaration
-
-
Parameters
-
optionTenor: Period
-
swapLength: Time
-
-
Optional extrapolate: boolean
blackVariance5
black
Variance5: (optionDate: Date, swapLength: Time, strike: Rate, extrapolate?: boolean) => Real
Type declaration
-
- (optionDate: Date, swapLength: Time, strike: Rate, extrapolate?: boolean): Real
-
Parameters
-
optionDate: Date
-
swapLength: Time
-
-
Optional extrapolate: boolean
blackVariance6
black
Variance6: (optionTime: Time, swapLength: Time, strike: Rate, extrapolate?: boolean) => Real
Type declaration
-
-
Parameters
-
optionTime: Time
-
swapLength: Time
-
-
Optional extrapolate: boolean
calculate
calculate: () => void
checkRange1
checkRange1: (d: Date, extrapolate: boolean) => void
Type declaration
-
- (d: Date, extrapolate: boolean): void
-
Parameters
-
d: Date
-
extrapolate: boolean
Returns void
checkRange2
check
Range2: (t: Time, extrapolate: boolean) => void
Type declaration
-
- (t: Time, extrapolate: boolean): void
checkStrike
check
Strike: (k: Rate, extrapolate: boolean) => void
Type declaration
-
- (k: Rate, extrapolate: boolean): void
checkSwapTenor1
check
SwapTenor1: (swapTenor: Period, extrapolate: boolean) => void
Type declaration
-
- (swapTenor: Period, extrapolate: boolean): void
checkSwapTenor2
check
SwapTenor2: (swapLength: Time, extrapolate: boolean) => void
Type declaration
-
- (swapLength: Time, extrapolate: boolean): void
-
Parameters
-
swapLength: Time
-
extrapolate: boolean
Returns void
deepUpdate
deepUpdate: () => void
disableExtrapolation
disableExtrapolation: (b: boolean) => void
dispose
dispose: () => void
enableExtrapolation
enableExtrapolation: (b: boolean) => void
freeze
freeze: () => void
isDisposed
isDisposed: boolean
maxSwapLength
max
SwapLength: () => Time
notifyObservers
notifyObservers: () => void
optionDateFromTenor
option
DateFromTenor: (p: Period) => Date
recalculate
recalculate: () => void
registerWithObservables
register
WithObservables: (o: Observer) => void
shift1
Type declaration
-
-
Parameters
-
optionTenor: Period
-
-
Optional extrapolate: boolean
shift2
shift2
: (optionDate
: Date, swapTenor
: Period, extrapolate
?: boolean) => Real
Type declaration
-
- (optionDate: Date, swapTenor: Period, extrapolate?: boolean): Real
-
Parameters
-
optionDate: Date
-
-
Optional extrapolate: boolean
shift3
shift3
: (optionTime
: Time, swapTenor
: Period, extrapolate
?: boolean) => Real
Type declaration
-
-
Parameters
-
optionTime: Time
-
-
Optional extrapolate: boolean
shift4
shift4
: (optionTenor
: Period, swapLength
: Time, extrapolate
?: boolean) => Real
Type declaration
-
-
Parameters
-
optionTenor: Period
-
swapLength: Time
-
Optional extrapolate: boolean
shift5
shift5
: (optionDate
: Date, swapLength
: Time, extrapolate
?: boolean) => Real
Type declaration
-
- (optionDate: Date, swapLength: Time, extrapolate?: boolean): Real
-
Parameters
-
optionDate: Date
-
swapLength: Time
-
Optional extrapolate: boolean
shift6
shift6
: (optionTime
: Time, swapLength
: Time, extrapolate
?: boolean) => Real
Type declaration
-
- (optionTime: Time, swapLength: Time, extrapolate?: boolean): Real
-
Parameters
-
optionTime: Time
-
swapLength: Time
-
Optional extrapolate: boolean
shiftImpl1
shift
Impl1: (optionDate: Date, swapTenor: Period) => Real
smileSection1
Type declaration
-
-
Parameters
-
optionTenor: Period
-
-
Optional extrapolate: boolean
smileSection2
smile
Section2: (optionDate: Date, swapTenor: Period, extrapolate?: boolean) => SmileSection
Type declaration
-
-
Parameters
-
optionDate: Date
-
-
Optional extrapolate: boolean
smileSection3
Type declaration
-
-
Parameters
-
optionTime: Time
-
-
Optional extrapolate: boolean
smileSection4
Type declaration
-
-
Parameters
-
optionTenor: Period
-
swapLength: Time
-
Optional extrapolate: boolean
smileSection5
smile
Section5: (optionDate: Date, swapLength: Time, extrapolate?: boolean) => SmileSection
Type declaration
-
-
Parameters
-
optionDate: Date
-
swapLength: Time
-
Optional extrapolate: boolean
smileSection6
Type declaration
-
-
Parameters
-
optionTime: Time
-
swapLength: Time
-
Optional extrapolate: boolean
swapLength2
swap
Length2: (start: Date, end: Date) => Time
Type declaration
-
- (start: Date, end: Date): Time
timeFromReference
time
FromReference: (date: Date) => Time
unfreeze
unfreeze: () => void
unregisterObserver
unregister
Observer: (o: Observer) => void
unregisterWithAll
unregisterWithAll: () => void
volatility1
Type declaration
-
-
Parameters
-
optionTenor: Period
-
-
-
Optional extrapolate: boolean
volatility2
volatility2
: (optionDate
: Date, swapTenor
: Period, strike
: Rate, extrapolate
?: boolean) => Volatility
Type declaration
-
-
Parameters
-
optionDate: Date
-
-
-
Optional extrapolate: boolean
volatility3
Type declaration
-
-
Parameters
-
optionTime: Time
-
-
-
Optional extrapolate: boolean
volatility4
Type declaration
-
-
Parameters
-
optionTenor: Period
-
swapLength: Time
-
-
Optional extrapolate: boolean
volatility5
volatility5
: (optionDate
: Date, swapLength
: Time, strike
: Rate, extrapolate
?: boolean) => Volatility
Type declaration
-
-
Parameters
-
optionDate: Date
-
swapLength: Time
-
-
Optional extrapolate: boolean
volatility6
Type declaration
-
-
Parameters
-
optionTime: Time
-
swapLength: Time
-
-
Optional extrapolate: boolean
swaption-volatility cube
this class is not finalized and its interface might change in subsequent releases.