Options
All
  • Public
  • Public/Protected
  • All
Menu

helper class

This class provides a more comfortable way to instantiate standard market swap.

Hierarchy

  • MakeVanillaSwap

Implements

Index

Constructors

constructor

  • Parameters

    • swapTenor: Period
    • index: IborIndex
    • Default value fixedRate: Rate = QL_NULL_REAL
    • Default value forwardStart: Period = new Period()

    Returns MakeVanillaSwap

Properties

Private _effectiveDate

_effectiveDate: Date

Private _engine

_engine: PricingEngine

Private _fixedCalendar

_fixedCalendar: Calendar

Private _fixedConvention

_fixedConvention: BusinessDayConvention

Private _fixedDayCount

_fixedDayCount: DayCounter

Private _fixedEndOfMonth

_fixedEndOfMonth: boolean

Private _fixedFirstDate

_fixedFirstDate: Date

Private _fixedNextToLastDate

_fixedNextToLastDate: Date

Private _fixedRate

_fixedRate: Rate

Private _fixedRule

_fixedRule: Rule

Private _fixedTenor

_fixedTenor: Period

Private _fixedTerminationDateConvention

_fixedTerminationDateConvention: BusinessDayConvention

Private _floatCalendar

_floatCalendar: Calendar

Private _floatConvention

_floatConvention: BusinessDayConvention

Private _floatDayCount

_floatDayCount: DayCounter

Private _floatEndOfMonth

_floatEndOfMonth: boolean

Private _floatFirstDate

_floatFirstDate: Date

Private _floatNextToLastDate

_floatNextToLastDate: Date

Private _floatRule

_floatRule: Rule

Private _floatSpread

_floatSpread: Spread

Private _floatTenor

_floatTenor: Period

Private _floatTerminationDateConvention

_floatTerminationDateConvention: BusinessDayConvention

Private _forwardStart

_forwardStart: Period

Private _iborIndex

_iborIndex: IborIndex

Private _nominal

_nominal: Real

Private _settlementDays

_settlementDays: Natural

Private _swapTenor

_swapTenor: Period

Private _terminationDate

_terminationDate: Date

Private _type

_type: Type

Methods

f

receiveFixed

  • Parameters

    • Default value flag: boolean = true

    Returns MakeVanillaSwap

withDiscountingTermStructure

withEffectiveDate

  • Parameters

    • effectiveDate: Date

    Returns MakeVanillaSwap

withFixedLegCalendar

withFixedLegConvention

withFixedLegDayCount

withFixedLegEndOfMonth

  • Parameters

    • Default value flag: boolean = true

    Returns MakeVanillaSwap

withFixedLegFirstDate

  • Parameters

    • d: Date

    Returns MakeVanillaSwap

withFixedLegNextToLastDate

  • Parameters

    • d: Date

    Returns MakeVanillaSwap

withFixedLegRule

withFixedLegTenor

withFixedLegTerminationDateConvention

withFloatingLegCalendar

withFloatingLegConvention

withFloatingLegDayCount

withFloatingLegEndOfMonth

  • Parameters

    • Default value flag: boolean = true

    Returns MakeVanillaSwap

withFloatingLegFirstDate

  • Parameters

    • d: Date

    Returns MakeVanillaSwap

withFloatingLegNextToLastDate

  • Parameters

    • d: Date

    Returns MakeVanillaSwap

withFloatingLegRule

withFloatingLegSpread

withFloatingLegTenor

withFloatingLegTerminationDateConvention

withNominal

withPricingEngine

withRule

withSettlementDays

withTerminationDate

  • Parameters

    • terminationDate: Date

    Returns MakeVanillaSwap

withType

  • Parameters

    Returns MakeVanillaSwap