Options
All
  • Public
  • Public/Protected
  • All
Menu

Finite-differences Bermudan engine

Hierarchy

Implements

Index

Constructors

constructor

  • Parameters

    • Scheme: any

    Returns FDBermudanEngine

Properties

Scheme

Scheme: any

_BCs

_BCs: bc_type[]

_arguments

_arguments: Arguments

_center

_center: Real

_events

_events: Event[]

_exerciseDate

_exerciseDate: Date

_finiteDifferenceOperator

_finiteDifferenceOperator: TridiagonalOperator

_gridPoints

_gridPoints: Size

_intrinsicValues

_intrinsicValues: SampledCurve

_isDisposed

_isDisposed: boolean = false

_model

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

_payoff

_payoff: Payoff

_prices

_prices: SampledCurve

_process

_results

_results: Results

_sMax

_sMax: Real

_sMin

_sMin: Real

_stepCondition

_stepCondition: StandardStepCondition

_stoppingTimes

_stoppingTimes: Time[]

_timeDependent

_timeDependent: boolean

_timeStepPerPeriod

_timeStepPerPeriod: Size

_timeSteps

_timeSteps: Size

calculate2

calculate2: (r: Results) => void

Type declaration

deepUpdate

deepUpdate: () => void

Type declaration

    • (): void
    • Returns void

dispose

dispose: () => void

Type declaration

    • (): void
    • Returns void

ensureStrikeInGrid

ensureStrikeInGrid: () => void

Type declaration

    • (): void
    • Returns void

Protected extraTermInBermudan

extraTermInBermudan: Real

getArguments

getArguments: () => Arguments

Type declaration

getDividendTime

getDividendTime: (i: Size) => Time

Type declaration

getResidualTime

getResidualTime: () => Time

Type declaration

getResults

getResults: () => Results

Type declaration

grid

grid: () => Real[]

Type declaration

init

init: (process: GeneralizedBlackScholesProcess, timeSteps: Size, gridPoints: Size, timeDependent?: boolean) => FDVanillaEngine

Type declaration

initializeBoundaryConditions

initializeBoundaryConditions: () => void

Type declaration

    • (): void
    • Returns void

initializeInitialCondition

initializeInitialCondition: () => void

Type declaration

    • (): void
    • Returns void

initializeModel

initializeModel: () => void

Type declaration

    • (): void
    • Returns void

initializeOperator

initializeOperator: () => 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

reset

reset: () => void

Type declaration

    • (): void
    • Returns void

safeGridPoints

safeGridPoints: (gridPoints: Size, residualTime: Time) => Size

Type declaration

setGridLimits1

setGridLimits1: () => void

Type declaration

    • (): void
    • Returns void

setGridLimits2

setGridLimits2: (center: Real, t: Time) => void

Type declaration

setupArguments

setupArguments: (a: Arguments) => void

Type declaration

setupArguments2

setupArguments2: (args: Arguments, schedule: Event[]) => 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

update

update: () => void

Type declaration

    • (): void
    • Returns void

Static _safetyZoneFactor

_safetyZoneFactor: Real = 1.1

Methods

calculate

  • calculate(): void

executeIntermediateStep

  • executeIntermediateStep(s: Size): void

fdInit

init1

initializeStepCondition

  • initializeStepCondition(): void