Options
All
  • Public
  • Public/Protected
  • All
Menu

Numerical lattice engine for swaptions

warning

This engine is not guaranteed to work if the underlying swap has a start date in the past, i.e., before today's date. When using this engine, prune the initial part of the swap so that it starts at $ t \geq 0 $.

test

calculations are checked against cached results

Hierarchy

Implements

Index

Constructors

constructor

  • Returns TreeSwaptionEngine

Properties

_arguments

_arguments: Arguments

_isDisposed

_isDisposed: boolean = false

Protected _lattice

_lattice: Lattice

_model

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

_results

_results: Results

Private _termStructure

_termStructure: Handle<YieldTermStructure>

Protected _timeGrid

_timeGrid: TimeGrid

Protected _timeSteps

_timeSteps: Size

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

init1

init2

lsrmeInit1

lsrmeInit2

lsrmeInit3

reset

  • reset(): void

tseInit1

tseInit2

tseInit3

update

  • update(): void