Options
All
  • Public
  • Public/Protected
  • All
Menu

Analytic pricing engine for American Knock-out options with digital payoff

todo

add more greeks (as of now only delta and rho available)

test
  • the correctness of the returned value in case of cash-or-nothing at-hit digital payoff is tested by reproducing results available in literature.
  • the correctness of the returned value in case of asset-or-nothing at-hit digital payoff is tested by reproducing results available in literature.
  • the correctness of the returned value in case of cash-or-nothing at-expiry digital payoff is tested by reproducing results available in literature.
  • the correctness of the returned value in case of asset-or-nothing at-expiry digital payoff is tested by reproducing results available in literature.
  • the correctness of the returned greeks in case of cash-or-nothing at-hit digital payoff is tested by reproducing numerical derivatives.

Hierarchy

Implements

Index

Constructors

constructor

Properties

_arguments

_arguments: Arguments

_isDisposed

_isDisposed: boolean = false

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

_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

calculate

  • calculate(): void

getArguments

getResults

knock_in

  • knock_in(): boolean

reset

  • reset(): void

update

  • update(): void