Properties
_alwaysForward
_alwaysForward: boolean = false
_calculated
_calculated: boolean = false
Protected _evaluationDate
_evaluationDate: Date
_extrapolate
_extrapolate: boolean
_frozen
_frozen: boolean = false
Private _interpolation
Defined in ql/termstructures/volatility/swaption/swaptionvolmatrix.ts:376
Private _interpolationShifts
Defined in ql/termstructures/volatility/swaption/swaptionvolmatrix.ts:377
_isDisposed
_isDisposed: boolean = false
Protected _optionDates
_optionDates: Date []
Protected _optionDatesAsReal
_option
DatesAsReal: Real []
Protected _optionInterpolator
_referenceDate
_referenceDate: Date
Private _shiftValues
Defined in ql/termstructures/volatility/swaption/swaptionvolmatrix.ts:373
Private _shifts
Defined in ql/termstructures/volatility/swaption/swaptionvolmatrix.ts:375
_updated
_updated: boolean
Private _volHandles
Defined in ql/termstructures/volatility/swaption/swaptionvolmatrix.ts:372
Private _volatilities
Defined in ql/termstructures/volatility/swaption/swaptionvolmatrix.ts:374
Private _volatilityType
Defined in ql/termstructures/volatility/swaption/swaptionvolmatrix.ts:378
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
At-the-money swaption-volatility matrix
This class provides the at-the-money volatility for a given swaption by interpolating a volatility matrix whose elements are the market volatilities of a set of swaption with given option date and swapLength.
The volatility matrix
M
must be defined so that:M[i][j]
contains the volatility corresponding to thei
-th option andj
-th tenor.