Options
All
  • Public
  • Public/Protected
  • All
Menu

interest rate volatility smile section

This abstract class provides volatility smile section interface

Hierarchy

Implements

Implemented by

Index

Properties

_dc

_exerciseDate

_exerciseDate: Date

_exerciseTime

_exerciseTime: Time

_isDisposed

_isDisposed: boolean = false

_isFloating

_isFloating: boolean

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

_referenceDate

_referenceDate: Date

_shift

_shift: Rate

_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

  • Returns Real

dayCounter

  • Returns 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
  • Returns Date

exerciseTime

  • exerciseTime(): Time
  • Returns Time

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

  • Parameters

    • exerciseTime: Time
    • Default value dc: DayCounter = new DayCounter()
    • Default value type: VolatilityType = VolatilityType.ShiftedLognormal
    • Default value shift: Rate = 0

    Returns SmileSection

initializeExerciseTime

  • initializeExerciseTime(): void
  • Returns void

maxStrike

  • Returns Real

minStrike

  • Returns Real

optionPrice

  • Parameters

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

    Returns Real

referenceDate

  • referenceDate(): Date
  • Returns Date

shift

  • Returns Rate

update

  • update(): void

variance

  • Parameters

    Returns Real

varianceImpl

  • Parameters

    Returns Real

vega

  • Parameters

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

    Returns Real

volatility1

  • Parameters

    Returns Volatility

volatility2

  • Parameters

    Returns Volatility

volatilityImpl

  • Parameters

    Returns Volatility

volatilityType

  • Returns VolatilityType