Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

_bdc

_calendar

_calendar: Calendar

_dayCounter

_dayCounter: DayCounter

_extrapolate

_extrapolate: boolean

_isDisposed

_isDisposed: boolean = false

Protected _localVolInterpol

_localVolInterpol: Interpolation[]

Protected _localVolMatrix

_localVolMatrix: Matrix

Protected _lowerExtrapolation

_lowerExtrapolation: Extrapolation

Protected _maxDate

_maxDate: Date

_moving

_moving: boolean

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

_referenceDate

_referenceDate: Date

_settlementDays

_settlementDays: Natural

Protected _strikes

_strikes: Real[][]

Protected _times

_times: Time[]

_updated

_updated: boolean

Protected _upperExtrapolation

_upperExtrapolation: Extrapolation

allowsExtrapolation

allowsExtrapolation: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

deepUpdate

deepUpdate: () => void

Type declaration

    • (): void
    • Returns void

disableExtrapolation

disableExtrapolation: (b?: boolean) => void

Type declaration

    • (b?: boolean): void
    • Parameters

      • Optional b: boolean

      Returns void

dispose

dispose: () => void

Type declaration

    • (): void
    • Returns void

enableExtrapolation

enableExtrapolation: (b?: boolean) => void

Type declaration

    • (b?: boolean): void
    • Parameters

      • Optional b: boolean

      Returns void

isDisposed

isDisposed: boolean

notifyObservers

notifyObservers: () => void

Type declaration

    • (): void
    • Returns void

registerObserver

registerObserver: (o: Observer) => void

Type declaration

registerWith

registerWith: (h: Observable) => void

Type declaration

registerWithObservables

registerWithObservables: (o: Observer) => void

Type declaration

unregisterObserver

unregisterObserver: (o: Observer) => void

Type declaration

unregisterWith

unregisterWith: (h: Observable) => Size

Type declaration

unregisterWithAll

unregisterWithAll: () => void

Type declaration

    • (): void
    • Returns void

Methods

accept

businessDayConvention

calendar

  • the calendar used for reference and/or option date calculation

    Returns Calendar

checkRange1

  • checkRange1(d: Date, extrapolate: boolean): void
  • date-range check

    Parameters

    • d: Date
    • extrapolate: boolean

    Returns void

checkRange2

  • checkRange2(t: Time, extrapolate: boolean): void
  • time-range check

    Parameters

    • t: Time
    • extrapolate: boolean

    Returns void

checkStrike

  • checkStrike(k: Rate, extrapolate: boolean): void

Private checkSurface

  • checkSurface(): void
  • Returns void

dayCounter

flvsInit1

  • Parameters

    • referenceDate: Date
    • dates: Date[]
    • strikes: Real[]
    • localVolMatrix: Matrix
    • dayCounter: DayCounter
    • Default value lowerExtrapolation: Extrapolation = FixedLocalVolSurface.Extrapolation.ConstantExtrapolation
    • Default value upperExtrapolation: Extrapolation = FixedLocalVolSurface.Extrapolation.ConstantExtrapolation

    Returns FixedLocalVolSurface

flvsInit2

  • Parameters

    • referenceDate: Date
    • times: Time[]
    • strikes: Real[]
    • localVolMatrix: Matrix
    • dayCounter: DayCounter
    • Default value lowerExtrapolation: Extrapolation = FixedLocalVolSurface.Extrapolation.ConstantExtrapolation
    • Default value upperExtrapolation: Extrapolation = FixedLocalVolSurface.Extrapolation.ConstantExtrapolation

    Returns FixedLocalVolSurface

flvsInit3

  • Parameters

    • referenceDate: Date
    • times: Time[]
    • strikes: Real[][]
    • localVolMatrix: Matrix
    • dayCounter: DayCounter
    • Default value lowerExtrapolation: Extrapolation = FixedLocalVolSurface.Extrapolation.ConstantExtrapolation
    • Default value upperExtrapolation: Extrapolation = FixedLocalVolSurface.Extrapolation.ConstantExtrapolation

    Returns FixedLocalVolSurface

localVol1

  • localVol1(d: Date, underlyingLevel: Real, extrapolate?: boolean): Volatility
  • Parameters

    • d: Date
    • underlyingLevel: Real
    • Default value extrapolate: boolean = false

    Returns Volatility

localVol2

localVolImpl

lvtsInit1

lvtsInit2

lvtsInit3

maxDate

  • maxDate(): Date
  • Returns Date

maxStrike

maxTime

  • Returns Time

minStrike

optionDateFromTenor

  • optionDateFromTenor(p: Period): Date

referenceDate

  • referenceDate(): Date
  • the date at which discount = 1.0 and/or variance = 0.0

    Returns Date

setInterpolation

  • Parameters

    Returns void

settlementDays

timeFromReference

  • timeFromReference(d: Date): Time

tsInit1

tsInit2

tsInit3

update

  • update(): void

vtsInit1

vtsInit2

vtsInit3