Options
All
  • Public
  • Public/Protected
  • All
Menu

Pricing engine for European continuous partial-time fixed-strike lookback options

Formula from "Option Pricing Formulas, Second Edition", E.G. Haug, 2006, p.148

test

returned values are verified against results from literature

Hierarchy

  • engine
    • AnalyticContinuousPartialFixedLookbackEngine

Implements

Index

Constructors

constructor

Properties

_arguments

_arguments: Arguments

Private _f

_f: CumulativeNormalDistribution = new CumulativeNormalDistribution()

_isDisposed

_isDisposed: boolean = false

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

Private _process

_results

_results: Results

deepUpdate

deepUpdate: () => void

Type declaration

    • (): void
    • Returns void

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

Private A

  • Parameters

    Returns Real

calculate

  • calculate(): void

Private dividendDiscount

  • Returns DiscountFactor

Private dividendYield

  • dividendYield(): Rate
  • Returns Rate

getArguments

  • getArguments(): Arguments

getResults

  • getResults(): Results

Private lookbackPeriodStartTime

  • lookbackPeriodStartTime(): Time
  • Returns Time

reset

  • reset(): void

Private residualTime

  • residualTime(): Time
  • Returns Time

Private riskFreeDiscount

  • Returns DiscountFactor

Private riskFreeRate

  • riskFreeRate(): Real
  • Returns Real

Private stdDeviation

  • stdDeviation(): Real
  • Returns Real

Private strike

  • Returns Real

Private underlying

  • underlying(): Real
  • Returns Real

update

  • update(): void

Private volatility

  • Returns Volatility