Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • Parameters

    • source: SmileSection
    • Default value atm: Real = QL_NULL_REAL
    • Default value interpolate: boolean = false
    • Default value exponentialExtrapolation: boolean = false
    • Default value deleteArbitragePoints: boolean = false
    • Default value moneynessGrid: Real[] = []
    • Default value gap: Real = 0.00001
    • Default value forcedLeftIndex: Integer = -1
    • Default value forcedRightIndex: Integer = QL_MAX_INTEGER

    Returns KahaleSmileSection

Properties

Private _c

_c: Real[]

Private _cFunctions

_cFunctions: cFunction[]

_dc

_exerciseDate

_exerciseDate: Date

_exerciseTime

_exerciseTime: Time

Private _exponentialExtrapolation

_exponentialExtrapolation: boolean

Private _f

_f: Real

Private _forcedLeftIndex

_forcedLeftIndex: Integer

Private _forcedRightIndex

_forcedRightIndex: Integer

Private _gap

_gap: Real

Private _interpolate

_interpolate: boolean

_isDisposed

_isDisposed: boolean = false

_isFloating

_isFloating: boolean

Private _k

_k: Real[]

Private _leftIndex

_leftIndex: Size

Private _moneynessGrid

_moneynessGrid: Real[]

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

_referenceDate

_referenceDate: Date

Private _rightIndex

_rightIndex: Size

_shift

_shift: Rate

Private _source

_source: SmileSection

Private _ssutils

_volatilityType

_volatilityType: VolatilityType

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

atmLevel

Private compute

  • compute(): void
  • Returns void

coreIndices

  • Returns [Size, Size]

dayCounter

deepUpdate

  • deepUpdate(): void

density

  • Parameters

    • strike: Rate
    • Default value discount: Real = 1
    • Default value gap: Real = 0.0001

    Returns Real

digitalOptionPrice

  • Parameters

    • strike: Rate
    • Default value type: Type = Option.Type.Call
    • Default value discount: Real = 1
    • Default value gap: Real = 0.00001

    Returns Real

exerciseDate

  • exerciseDate(): Date

exerciseTime

  • exerciseTime(): Time

Private index

  • Parameters

    Returns Size

init1

  • Parameters

    • d: Date
    • Default value dc: DayCounter = new DayCounter()
    • Default value referenceDate: Date = null
    • Default value type: VolatilityType = VolatilityType.ShiftedLognormal
    • Default value shift: Rate = 0

    Returns SmileSection

init2

initializeExerciseTime

  • initializeExerciseTime(): void

leftCoreStrike

  • leftCoreStrike(): Real
  • Returns Real

maxStrike

minStrike

optionPrice

  • Parameters

    • strike: Rate
    • Default value type: Type = Option.Type.Call
    • Default value discount: Real = 1

    Returns Real

referenceDate

  • referenceDate(): Date

rightCoreStrike

  • rightCoreStrike(): Real
  • Returns Real

shift

  • Returns Real

update

  • update(): void

variance

varianceImpl

vega

  • Parameters

    • strike: Rate
    • Default value discount: Real = 1

    Returns Real

volatility1

volatility2

volatilityImpl

volatilityType