Options
All
  • Public
  • Public/Protected
  • All
Menu

Local volatility surface derived from a Black vol surface

For details about this implementation refer to "Stochastic Volatility and Local Volatility," in "Case Studies and Financial Modelling Course Notes," by Jim Gatheral, Fall Term, 2003

see www.math.nyu.edu/fellows_fin_math/gatheral/Lecture1_Fall02.pdf

bug this class is untested, probably unreliable.

Hierarchy

Implements

Index

Constructors

constructor

Properties

_bdc

Private _blackTS

_calendar

_calendar: Calendar

_dayCounter

_dayCounter: DayCounter

Private _dividendTS

_extrapolate

_extrapolate: boolean

_isDisposed

_isDisposed: boolean = false

_moving

_moving: boolean

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

_referenceDate

_referenceDate: Date

Private _riskFreeTS

_settlementDays

_settlementDays: Natural

Private _underlying

_underlying: Handle<Quote>

_updated

_updated: boolean

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

dayCounter

localVol1

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

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

    Returns Volatility

localVol2

localVolImpl

lvsInit1

lvsInit2

lvtsInit1

lvtsInit2

lvtsInit3

maxDate

  • maxDate(): Date
  • Returns Date

maxStrike

maxTime

  • the latest time for which the curve can return values

    Returns Time

minStrike

optionDateFromTenor

  • optionDateFromTenor(p: Period): Date

referenceDate

  • referenceDate(): Date

settlementDays

timeFromReference

  • timeFromReference(d: Date): Time

tsInit1

tsInit2

tsInit3

update

  • update(): void

vtsInit1

vtsInit2

vtsInit3