Options
All
  • Public
  • Public/Protected
  • All
Menu

Finite-differences pricing engine for BSM one asset options

The name is a misnomer as this is a base class for any finite difference scheme. Its main job is to handle grid layout.

Hierarchy

Implemented by

Index

Type aliases

Static bc_type

Properties

_BCs

_BCs: bc_type[]

_center

_center: Real

_exerciseDate

_exerciseDate: Date

_finiteDifferenceOperator

_finiteDifferenceOperator: TridiagonalOperator

_gridPoints

_gridPoints: Size

_intrinsicValues

_intrinsicValues: SampledCurve

_payoff

_payoff: Payoff

_process

_sMax

_sMax: Real

_sMin

_sMin: Real

_timeDependent

_timeDependent: boolean

_timeSteps

_timeSteps: Size

Static _safetyZoneFactor

_safetyZoneFactor: Real = 1.1

Methods

ensureStrikeInGrid

  • ensureStrikeInGrid(): void
  • Returns void

getResidualTime

  • getResidualTime(): Time
  • Returns Time

grid

  • Returns Real[]

init

initializeBoundaryConditions

  • initializeBoundaryConditions(): void
  • Returns void

initializeInitialCondition

  • initializeInitialCondition(): void
  • Returns void

initializeOperator

  • initializeOperator(): void
  • Returns void

safeGridPoints

  • safeGridPoints(gridPoints: Size, residualTime: Time): Size
  • Parameters

    Returns Size

setGridLimits1

  • setGridLimits1(): void
  • Returns void

setGridLimits2

  • setGridLimits2(center: Real, t: Time): void
  • Parameters

    Returns void

setupArguments

  • Parameters

    Returns void