Options
All
  • Public
  • Public/Protected
  • All
Menu

Generalized Black-Scholes stochastic process

This class describes the stochastic process $ S $ governed by $$ d\ln S(t) = (r(t) - q(t) - \frac{\sigma(t, S)^2}{2}) dt + \sigma dW_t. $$

warning while the interface is expressed in terms of $ S $, the internal calculations work on $ ln S $.

Hierarchy

Implements

Index

Properties

Private _blackVolatility

_blackVolatility: Handle<BlackVolTermStructure>

_discretization

_discretization: discretization

Private _dividendYield

_dividendYield: Handle<YieldTermStructure>

Private _externalLocalVolTS

_externalLocalVolTS: Handle<LocalVolTermStructure> = new Handle()

Private _forceDiscretization

_forceDiscretization: boolean

Private _hasExternalLocalVol

_hasExternalLocalVol: boolean

_isDisposed

_isDisposed: boolean = false

Private _isStrikeIndependent

_isStrikeIndependent: boolean

Private _localVolatility

_localVolatility: RelinkableHandle<LocalVolTermStructure> = new RelinkableHandle()

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

Private _riskFreeRate

_riskFreeRate: Handle<YieldTermStructure>

Private _updated

_updated: boolean

Private _x0

dispose

dispose: () => void

Type declaration

    • (): void
    • 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

apply1

apply2

blackVolatility

covariance

deepUpdate

  • deepUpdate(): void

diffusion1

diffusion2

dividendYield

drift1

drift2

evolve1

evolve2

expectation1

expectation2

  • warning in general raises a "not implemented" exception. It should be rewritten to return the expectation E(S) of the process, not exp(E(log S)).

    Parameters

    Returns Real

factors

  • returns the number of independent factors of the process

    Returns Size

init

init1

init2

initialValues

  • initialValues(): Real[]

localVolatility

riskFreeRate

size

stateVariable

  • Returns Handle<Quote>

stdDeviation1

stdDeviation2

time

  • time(d: Date): Time

update

  • update(): void

variance

x0