Options
All
  • Public
  • Public/Protected
  • All
Menu

helper class

This class provides a more comfortable way to instantiate standard market cap and floor.

Hierarchy

  • MakeCapFloor

Implements

Index

Constructors

constructor

  • Parameters

    • capFloorType: Type
    • tenor: Period
    • iborIndex: IborIndex
    • Default value strike: Rate = QL_NULL_REAL
    • Default value forwardStart: Period = new Period()

    Returns MakeCapFloor

Properties

Private _asOptionlet

_asOptionlet: boolean

Private _capFloorType

_capFloorType: Type

Private _engine

_engine: PricingEngine

Private _firstCapletExcluded

_firstCapletExcluded: boolean

Private _makeVanillaSwap

_makeVanillaSwap: MakeVanillaSwap

Private _strike

_strike: Rate

Methods

asOptionlet

  • Parameters

    • Default value b: boolean = true

    Returns MakeCapFloor

f

withCalendar

withConvention

withDayCount

withEffectiveDate

  • withEffectiveDate(effectiveDate: Date, firstCapletExcluded: boolean): MakeCapFloor
  • Parameters

    • effectiveDate: Date
    • firstCapletExcluded: boolean

    Returns MakeCapFloor

withEndOfMonth

  • Parameters

    • Default value flag: boolean = true

    Returns MakeCapFloor

withFirstDate

  • Parameters

    • d: Date

    Returns MakeCapFloor

withNextToLastDate

  • Parameters

    • d: Date

    Returns MakeCapFloor

withNominal

  • Parameters

    Returns MakeCapFloor

withPricingEngine

withRule

  • Parameters

    Returns MakeCapFloor

withTenor

withTerminationDateConvention