Options
All
  • Public
  • Public/Protected
  • All
Menu

Square-root stochastic-volatility Heston process

This class describes the square root stochastic volatility process governed by $$ \begin{array}{rcl} dS(t, S) &=& \mu S dt + \sqrt{v} S dW_1 \ dv(t, S) &=& \kappa (\theta - v) dt + \sigma \sqrt{v} dW_2 \ dW_1 dW_2 &=& \rho dt \end{array} $$

Hierarchy

Implements

Index

Constructors

constructor

Properties

_discretization

_discretization: discretization

_discretization1

_discretization1: Discretization

Private _dividendYield

_dividendYield: Handle<YieldTermStructure>

_isDisposed

_isDisposed: boolean = false

Private _kappa

_kappa: Real

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

Private _rho

_rho: Real

Private _riskFreeRate

_riskFreeRate: Handle<YieldTermStructure>

Private _s0

Private _sigma

_sigma: Real

Private _theta

_theta: Real

Private _v0

_v0: Real

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

covariance

  • returns the covariance $$ V(\mathrm{x}{t_0 + \Delta t} | \mathrm{x}{t_0} = \mathrm{x}_0) $$ of the process after a time interval $ \Delta t $ according to the given discretization. This method can be overridden in derived classes which want to hard-code a particular discretization.

    Parameters

    Returns Matrix

deepUpdate

  • deepUpdate(): void

diffusion1

dividendYield

drift1

evolve1

expectation1

  • returns the expectation $$ E(\mathrm{x}{t_0 + \Delta t} | \mathrm{x}{t_0} = \mathrm{x}_0) $$ of the process after a time interval $ \Delta t $ according to the given discretization. This method can be overridden in derived classes which want to hard-code a particular discretization.

    Parameters

    Returns Real[]

factors

init

initialValues

  • initialValues(): Real[]

kappa

  • Returns Real

pdf

  • probability densitiy function, semi-analytical solution of the Fokker-Planck equation in x=ln(s)

    Parameters

    Returns Real

rho

  • Returns Real

riskFreeRate

s0

  • Returns Handle<Quote>

sigma

  • Returns Real

size

stdDeviation1

  • returns the standard deviation $$ S(\mathrm{x}{t_0 + \Delta t} | \mathrm{x}{t_0} = \mathrm{x}_0) $$ of the process after a time interval $ \Delta t $ according to the given discretization. This method can be overridden in derived classes which want to hard-code a particular discretization.

    Parameters

    Returns Matrix

theta

  • Returns Real

time

  • time(d: Date): Time

update

  • update(): void

v0

  • Returns Real

Private varianceDistribution

  • Parameters

    Returns Real