Options
All
  • Public
  • Public/Protected
  • All
Menu

GSR stochastic process

Hierarchy

Implements

Index

Constructors

constructor

  • Parameters

    • times: Real[]
    • vols: Real[]
    • reversions: Real[]
    • Default value T: Real = 60
    • Default value referenceDate: Date = null
    • Default value dc: DayCounter = new DayCounter()

    Returns GsrProcess

Properties

Protected _T

_T: Time

Private _core

Private _dc

_discretization

_discretization: discretization

_isDisposed

_isDisposed: boolean = false

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

Private _referenceDate

_referenceDate: Date

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

G

  • Parameters

    Returns Real

apply1

apply2

  • applies a change to the asset value. By default, it returns $ x + \Delta x $.

    Parameters

    Returns Real

checkT

  • checkT(t: Time): void
  • Parameters

    Returns void

covariance

deepUpdate

  • deepUpdate(): void

diffusion1

diffusion2

drift1

drift2

evolve1

evolve2

  • returns the asset value after a time interval $ \Delta t $ according to the given discretization. By default, it returns $$ E(x_0,t_0,\Delta t) + S(x_0,t_0,\Delta t) \cdot \Delta w $$ where $ E $ is the expectation and $ S $ the standard deviation.

    Parameters

    Returns Real

expectation1

expectation2

factors

  • returns the number of independent factors of the process

    Returns Size

flushCache

  • flushCache(): void
  • reset cache

    Returns void

fmpInit1

fmpInit2

getForwardMeasureTime

  • getForwardMeasureTime(): Time

init

initialValues

  • initialValues(): Real[]

reversion

  • Parameters

    Returns Real

setForwardMeasureTime

  • setForwardMeasureTime(t: Time): void

sigma

  • Parameters

    Returns Real

size

stdDeviation1

stdDeviation2

time

  • time(d: Date): Real

update

  • update(): void

variance

x0

y

  • Parameters

    Returns Real