QuantLib
A free/open-source library for quantitative finance
Reference manual - version 1.20
Public Member Functions | List of all members
MakeVanillaSwap Class Reference

helper class More...

#include <ql/instruments/makevanillaswap.hpp>

Public Member Functions

 MakeVanillaSwap (const Period &swapTenor, const ext::shared_ptr< IborIndex > &iborIndex, Rate fixedRate=Null< Rate >(), const Period &forwardStart=0 *Days)
 
 operator VanillaSwap () const
 
 operator ext::shared_ptr< VanillaSwap > () const
 
MakeVanillaSwapreceiveFixed (bool flag=true)
 
MakeVanillaSwapwithType (VanillaSwap::Type type)
 
MakeVanillaSwapwithNominal (Real n)
 
MakeVanillaSwapwithSettlementDays (Natural settlementDays)
 
MakeVanillaSwapwithEffectiveDate (const Date &)
 
MakeVanillaSwapwithTerminationDate (const Date &)
 
MakeVanillaSwapwithRule (DateGeneration::Rule r)
 
MakeVanillaSwapwithFixedLegTenor (const Period &t)
 
MakeVanillaSwapwithFixedLegCalendar (const Calendar &cal)
 
MakeVanillaSwapwithFixedLegConvention (BusinessDayConvention bdc)
 
MakeVanillaSwapwithFixedLegTerminationDateConvention (BusinessDayConvention bdc)
 
MakeVanillaSwapwithFixedLegRule (DateGeneration::Rule r)
 
MakeVanillaSwapwithFixedLegEndOfMonth (bool flag=true)
 
MakeVanillaSwapwithFixedLegFirstDate (const Date &d)
 
MakeVanillaSwapwithFixedLegNextToLastDate (const Date &d)
 
MakeVanillaSwapwithFixedLegDayCount (const DayCounter &dc)
 
MakeVanillaSwapwithFloatingLegTenor (const Period &t)
 
MakeVanillaSwapwithFloatingLegCalendar (const Calendar &cal)
 
MakeVanillaSwapwithFloatingLegConvention (BusinessDayConvention bdc)
 
MakeVanillaSwapwithFloatingLegTerminationDateConvention (BusinessDayConvention bdc)
 
MakeVanillaSwapwithFloatingLegRule (DateGeneration::Rule r)
 
MakeVanillaSwapwithFloatingLegEndOfMonth (bool flag=true)
 
MakeVanillaSwapwithFloatingLegFirstDate (const Date &d)
 
MakeVanillaSwapwithFloatingLegNextToLastDate (const Date &d)
 
MakeVanillaSwapwithFloatingLegDayCount (const DayCounter &dc)
 
MakeVanillaSwapwithFloatingLegSpread (Spread sp)
 
MakeVanillaSwapwithDiscountingTermStructure (const Handle< YieldTermStructure > &discountCurve)
 
MakeVanillaSwapwithPricingEngine (const ext::shared_ptr< PricingEngine > &engine)
 

Detailed Description

helper class

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

Examples
CVAIRS.cpp.