Options
All
  • Public
  • Public/Protected
  • All
Menu

CMS spread - coupon pricer

The swap rate adjustments are computed using the given volatility structures for the underlyings in every case (w.r.t. volatility type and shift).

For the bivariate spread model, the volatility type and the shifts can be inherited (default), or explicitly specified. In the latter case the type, and (if lognormal) the shifts must be given (or are defaulted to zero, if not given).

References:

Brigo, Mercurio: Interst Rate Models - Theory and Practice, 2nd Edition, Springer, 2006, chapter 13.6.2

http://ssrn.com/abstract=2686998

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private _a

_a: Real

Private _adjustedRate1

_adjustedRate1: Real

Private _adjustedRate2

_adjustedRate2: Real

Private _alpha

_alpha: Real

Private _b

_b: Real

Private _c1

Private _c2

Private _cache

_cache: CacheType = new Map()

Private _cmsPricer

_cmsPricer: CmsCouponPricer

Private _cnd

Private _coupon

Private _couponDiscountCurve

_couponDiscountCurve: Handle<YieldTermStructure>

Private _discount

_discount: Real

Private _fixingDate

_fixingDate: Date

Private _fixingTime

_fixingTime: Time

Private _gearing

_gearing: Real

Private _gearing1

_gearing1: Real

Private _gearing2

_gearing2: Real

Private _index

Private _inheritedVolatilityType

_inheritedVolatilityType: boolean

Private _integrator

_integrator: GaussianQuadrature

_isDisposed

_isDisposed: boolean = false

Private _k

_k: Real

Private _m1

_m1: Real

Private _m2

_m2: Real

Private _mu1

_mu1: Real

Private _mu2

_mu2: Real

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

Private _optionType

_optionType: Type

Private _paymentDate

_paymentDate: Date

Private _phi

_phi: Real

Private _privateObserver

_privateObserver: PrivateObserver

Private _psi

_psi: Real

Private _rho

_rho: Real

Private _s1

_s1: Real

Private _s2

_s2: Real

Private _shift1

_shift1: Real

Private _shift2

_shift2: Real

Private _spread

_spread: Real

Private _spreadLegValue

_spreadLegValue: Real

Private _swapRate1

_swapRate1: Real

Private _swapRate2

_swapRate2: Real

Private _today

_today: Date

Private _v1

_v1: Real

Private _v2

_v2: Real

Private _vol1

_vol1: Real

Private _vol2

_vol2: Real

Private _volType

_volType: 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

capletPrice

capletRate

correlation

deepUpdate

  • deepUpdate(): void

floorletPrice

  • floorletPrice(effectiveFloor: Rate): Real

floorletRate

  • floorletRate(effectiveFloor: Rate): Rate

flushCache

  • flushCache(): void
  • Returns void

initialize

integrand

  • Parameters

    Returns Real

integrand_normal

  • Parameters

    Returns Real

Private optionletPrice

  • Parameters

    Returns Real

setCorrelation

swapletPrice

  • swapletPrice(): Real

swapletRate

  • swapletRate(): Rate

update

  • update(): void