Options
All
  • Public
  • Public/Protected
  • All
Menu

One factor model float float swaption engine

All float coupons with fixing date greater or equal the respective option expiry are considered part of the exercise into right. Note that this is different from the usual accrual start date greater or equal exercise date if the fixing lag is strictly greater than the exercise lag (which should be a rare case). For the redepmtion flows the criterion is that the associated start date of the redemption flow (i.e. the start date of the regular coupon period with same payment date as the redemption flow) is greater or equal the exercise date.

The addtional result underlyingValue is the npv of the underlying (as seen from "today") including all fixings greater (or greater equal depending on includeTodaysExercise) today.

Hierarchy

Implements

Index

Constructors

constructor

Properties

_arguments

_arguments: Arguments

_discountCurve

_discountCurve: Handle<YieldTermStructure>

Private _extrapolatePayoff

_extrapolatePayoff: boolean

Private _flatPayoffExtrapolation

_flatPayoffExtrapolation: boolean

Private _includeTodaysExercise

_includeTodaysExercise: boolean

Private _integrationPoints

_integrationPoints: Integer

_isDisposed

_isDisposed: boolean = false

_model

_oas

_oas: Handle<Quote>

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

_onefactormodel

_onefactormodel: Handle<Gaussian1dModel>

Private _probabilities

_probabilities: Probabilities

Private _rebatedExercise

_rebatedExercise: RebatedExercise

_results

_results: Results

Private _stddevs

_stddevs: Real

bgeInit1

bgeInit1: (model: Gaussian1dModel, oas: Handle<Quote>, discountCurve: Handle<YieldTermStructure>) => BasketGeneratingEngine

Type declaration

bgeInit2

bgeInit2: (model: Handle<Gaussian1dModel>, oas: Handle<Quote>, discountCurve: Handle<YieldTermStructure>) => BasketGeneratingEngine

Type declaration

calibrationBasket

calibrationBasket: (exercise: Exercise, standardSwapBase: SwapIndex, swaptionVolatility: SwaptionVolatilityStructure, basketType?: CalibrationBasketType) => CalibrationHelper[]

Type declaration

deepUpdate

deepUpdate: () => void

Type declaration

    • (): void
    • Returns void

dispose

dispose: () => void

Type declaration

    • (): void
    • Returns void

getArguments

getArguments: () => Arguments

Type declaration

    • (): Arguments
    • Returns Arguments

getResults

getResults: () => Results

Type declaration

init1

Type declaration

init2

Type declaration

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

reset

reset: () => void

Type declaration

    • (): void
    • Returns void

unregisterObserver

unregisterObserver: (o: Observer) => void

Type declaration

unregisterWith

unregisterWith: (h: Observable) => Size

Type declaration

unregisterWithAll

unregisterWithAll: () => void

Type declaration

    • (): void
    • Returns void

update

update: () => void

Type declaration

    • (): void
    • Returns void

Methods

calculate

  • calculate(): void

discountingCurve

g1dffseInit1

  • Parameters

    • model: Gaussian1dModel
    • Default value integrationPoints: Integer = 64
    • Default value stddevs: Real = 7
    • Default value extrapolatePayoff: boolean = true
    • Default value flatPayoffExtrapolation: boolean = false
    • Default value oas: Handle<Quote> = new Handle()
    • Default value discountCurve: Handle<YieldTermStructure> = new Handle()
    • Default value includeTodaysExercise: boolean = false
    • Default value probabilities: Probabilities = Gaussian1dFloatFloatSwaptionEngine.Probabilities.None

    Returns Gaussian1dFloatFloatSwaptionEngine

g1dffseInit2

  • Parameters

    • model: Handle<Gaussian1dModel>
    • Default value integrationPoints: Integer = 64
    • Default value stddevs: Real = 7
    • Default value extrapolatePayoff: boolean = true
    • Default value flatPayoffExtrapolation: boolean = false
    • Default value oas: Handle<Quote> = new Handle()
    • Default value discountCurve: Handle<YieldTermStructure> = new Handle()
    • Default value includeTodaysExercise: boolean = false
    • Default value probabilities: Probabilities = Gaussian1dFloatFloatSwaptionEngine.Probabilities.None

    Returns Gaussian1dFloatFloatSwaptionEngine

initialGuess

  • initialGuess(expiry: Date): Real[]

Private npvs

  • npvs(expiry: Date, y: Real, includeExerciseOnExpiry: boolean, considerProbabilities?: boolean): [Real, Real]
  • Parameters

    • expiry: Date
    • y: Real
    • includeExerciseOnExpiry: boolean
    • Default value considerProbabilities: boolean = false

    Returns [Real, Real]

underlyingLastDate

  • underlyingLastDate(): Date

underlyingNpv

  • underlyingNpv(expiry: Date, y: Real): Real

underlyingType

  • underlyingType(): Type