Options
All
  • Public
  • Public/Protected
  • All
Menu

Constant surface, no K or T dependence.

Hierarchy

Implements

Index

Properties

_baseLevel

_baseLevel: Volatility

_bdc

_calendar

_calendar: Calendar

_dayCounter

_dayCounter: DayCounter

_extrapolate

_extrapolate: boolean

_frequency

_frequency: Frequency

_indexIsInterpolated

_indexIsInterpolated: boolean

_isDisposed

_isDisposed: boolean = false

Protected _maxStrike

_maxStrike: Rate

Protected _minStrike

_minStrike: Rate

_moving

_moving: boolean

_observables

_observables: Set<Observable> = new Set()

_observationLag

_observationLag: Period

_observers

_observers: Set<Observer> = new Set()

_referenceDate

_referenceDate: Date

_settlementDays

_settlementDays: Natural

_updated

_updated: boolean

Protected _volatility

_volatility: Volatility

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

baseDate

  • baseDate(): Date

baseLevel

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

checkRange3

  • checkRange3(d: Date, strike: Rate, extrapolate: boolean): void
  • Parameters

    • d: Date
    • strike: Rate
    • extrapolate: boolean

    Returns void

checkRange4

  • checkRange4(t: Time, strike: Rate, extrapolate: boolean): void

checkStrike

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

cyoyovInit

dayCounter

frequency

indexIsInterpolated

  • indexIsInterpolated(): boolean

maxDate

  • maxDate(): Date
  • the latest date for which the curve can return values

    Returns Date

maxStrike

maxTime

  • the latest time for which the curve can return values

    Returns Time

minStrike

observationLag

  • The TS observes with a lag that is usually different from the availability lag of the index. An inflation rate is given, by default, for the maturity requested assuming this lag.

    Returns Period

optionDateFromTenor

  • optionDateFromTenor(p: Period): Date

referenceDate

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

    Returns Date

setBaseLevel

settlementDays

timeFromBase

  • timeFromBase(maturityDate: Date, obsLag?: Period): Time
  • Parameters

    • maturityDate: Date
    • Default value obsLag: Period = new Period().init1(-1, TimeUnit.Days)

    Returns Time

timeFromReference

  • timeFromReference(d: Date): Time

totalVariance1

  • totalVariance1(maturityDate: Date, strike: Rate, obsLag?: Period, extrapolate?: boolean): Volatility
  • Returns the total integrated variance for a given exercise date and strike rate. Total integrated variance is useful because it scales out t for the optionlet pricing formulae. Note that it is called "total" because the surface does not know whether it represents Black, Bachelier or Displaced Diffusion variance. These are virtual so alternate connections between const vol and total var are possible.

    Because inflation is highly linked to dates (for interpolation, periods, etc) we do NOT provide a time version

    Parameters

    • maturityDate: Date
    • strike: Rate
    • Default value obsLag: Period = new Period().init1(-1, TimeUnit.Days)
    • Default value extrapolate: boolean = false

    Returns Volatility

totalVariance2

tsInit1

tsInit2

tsInit3

update

  • update(): void

volatility1

  • Returns the volatility for a given maturity date and strike rate that observes inflation, by default, with the observation lag of the term structure. Because inflation is highly linked to dates (for interpolation, periods, etc) we do NOT provide a time version.

    Parameters

    • maturityDate: Date
    • strike: Rate
    • Default value obsLag: Period = new Period().init1(-1, TimeUnit.Days)
    • Default value extrapolate: boolean = false

    Returns Volatility

volatility2

  • Parameters

    • optionTenor: Period
    • strike: Rate
    • Default value obsLag: Period = new Period().init1(-1, TimeUnit.Days)
    • Default value extrapolate: boolean = false

    Returns Volatility

volatilityImpl

vtsInit1

vtsInit2

vtsInit3

yoyovsInit