helper class More...
#include <qle/instruments/makeaverageois.hpp>
Public Member Functions | |
MakeAverageOIS (const Period &swapTenor, const QuantLib::ext::shared_ptr< OvernightIndex > &overnightIndex, const Period &onTenor, Rate fixedRate, const Period &fixedTenor, const DayCounter &fixedDayCounter, const Period &spotLagTenor=2 *Days, const Period &forwardStart=0 *Days) | |
operator AverageOIS () const | |
operator QuantLib::ext::shared_ptr< AverageOIS > () const | |
MakeAverageOIS & | receiveFixed (bool receiveFixed=true) |
MakeAverageOIS & | withType (AverageOIS::Type type) |
MakeAverageOIS & | withNominal (Real nominal) |
MakeAverageOIS & | withEffectiveDate (const Date &effectiveDate) |
MakeAverageOIS & | withTerminationDate (const Date &terminationDate) |
MakeAverageOIS & | withRule (DateGeneration::Rule rule) |
MakeAverageOIS & | withSpotLagCalendar (const Calendar &spotLagCalendar) |
MakeAverageOIS & | withFixedCalendar (const Calendar &fixedCalendar) |
MakeAverageOIS & | withFixedConvention (BusinessDayConvention fixedConvention) |
MakeAverageOIS & | withFixedTerminationDateConvention (BusinessDayConvention fixedTerminationDateConvention) |
MakeAverageOIS & | withFixedRule (DateGeneration::Rule fixedRule) |
MakeAverageOIS & | withFixedEndOfMonth (bool fixedEndOfMonth=false) |
MakeAverageOIS & | withFixedFirstDate (const Date &fixedFirstDate) |
MakeAverageOIS & | withFixedNextToLastDate (const Date &fixedNextToLastDate) |
MakeAverageOIS & | withFixedPaymentAdjustment (BusinessDayConvention fixedPaymentAdjustment) |
MakeAverageOIS & | withFixedPaymentCalendar (const Calendar &fixedPaymentCalendar) |
MakeAverageOIS & | withONCalendar (const Calendar &onCalendar) |
MakeAverageOIS & | withONConvention (BusinessDayConvention onConvention) |
MakeAverageOIS & | withONTerminationDateConvention (BusinessDayConvention onTerminationDateConvention) |
MakeAverageOIS & | withONRule (DateGeneration::Rule onRule) |
MakeAverageOIS & | withONEndOfMonth (bool onEndOfMonth=false) |
MakeAverageOIS & | withONFirstDate (const Date &onFirstDate) |
MakeAverageOIS & | withONNextToLastDate (const Date &onNextToLastDate) |
MakeAverageOIS & | withRateCutoff (Natural rateCutoff) |
MakeAverageOIS & | withONSpread (Spread onSpread) |
MakeAverageOIS & | withONGearing (Real onGearing) |
MakeAverageOIS & | withONDayCounter (const DayCounter &onDayCounter) |
MakeAverageOIS & | withONPaymentAdjustment (BusinessDayConvention onPaymentAdjustment) |
MakeAverageOIS & | withONPaymentCalendar (const Calendar &onPaymentCalendar) |
MakeAverageOIS & | withTelescopicValueDates (bool telescopicValueDates) |
MakeAverageOIS & | withONCouponPricer (const QuantLib::ext::shared_ptr< AverageONIndexedCouponPricer > &onCouponPricer) |
MakeAverageOIS & | withDiscountingTermStructure (const Handle< YieldTermStructure > &discountCurve) |
MakeAverageOIS & | withPricingEngine (const QuantLib::ext::shared_ptr< PricingEngine > &engine) |
helper class
This class provides a more comfortable way to instantiate standard average ON indexed swaps.
\ingroup instruments
Definition at line 39 of file makeaverageois.hpp.
MakeAverageOIS | ( | const Period & | swapTenor, |
const QuantLib::ext::shared_ptr< OvernightIndex > & | overnightIndex, | ||
const Period & | onTenor, | ||
Rate | fixedRate, | ||
const Period & | fixedTenor, | ||
const DayCounter & | fixedDayCounter, | ||
const Period & | spotLagTenor = 2 * Days , |
||
const Period & | forwardStart = 0 * Days |
||
) |
Definition at line 26 of file makeaverageois.cpp.
operator AverageOIS | ( | ) | const |
Definition at line 46 of file makeaverageois.cpp.
operator QuantLib::ext::shared_ptr< AverageOIS > | ( | ) | const |
Definition at line 51 of file makeaverageois.cpp.
MakeAverageOIS & receiveFixed | ( | bool | receiveFixed = true | ) |
Definition at line 90 of file makeaverageois.cpp.
MakeAverageOIS & withType | ( | AverageOIS::Type | type | ) |
Definition at line 95 of file makeaverageois.cpp.
MakeAverageOIS & withNominal | ( | Real | nominal | ) |
Definition at line 100 of file makeaverageois.cpp.
MakeAverageOIS & withEffectiveDate | ( | const Date & | effectiveDate | ) |
Definition at line 105 of file makeaverageois.cpp.
MakeAverageOIS & withTerminationDate | ( | const Date & | terminationDate | ) |
Definition at line 110 of file makeaverageois.cpp.
MakeAverageOIS & withRule | ( | DateGeneration::Rule | rule | ) |
Definition at line 116 of file makeaverageois.cpp.
MakeAverageOIS & withSpotLagCalendar | ( | const Calendar & | spotLagCalendar | ) |
Definition at line 122 of file makeaverageois.cpp.
MakeAverageOIS & withFixedCalendar | ( | const Calendar & | fixedCalendar | ) |
MakeAverageOIS & withFixedConvention | ( | BusinessDayConvention | fixedConvention | ) |
MakeAverageOIS & withFixedTerminationDateConvention | ( | BusinessDayConvention | fixedTerminationDateConvention | ) |
MakeAverageOIS & withFixedRule | ( | DateGeneration::Rule | fixedRule | ) |
Definition at line 143 of file makeaverageois.cpp.
MakeAverageOIS & withFixedEndOfMonth | ( | bool | fixedEndOfMonth = false | ) |
Definition at line 148 of file makeaverageois.cpp.
MakeAverageOIS & withFixedFirstDate | ( | const Date & | fixedFirstDate | ) |
Definition at line 153 of file makeaverageois.cpp.
MakeAverageOIS & withFixedNextToLastDate | ( | const Date & | fixedNextToLastDate | ) |
Definition at line 158 of file makeaverageois.cpp.
MakeAverageOIS & withFixedPaymentAdjustment | ( | BusinessDayConvention | fixedPaymentAdjustment | ) |
MakeAverageOIS & withFixedPaymentCalendar | ( | const Calendar & | fixedPaymentCalendar | ) |
Definition at line 168 of file makeaverageois.cpp.
MakeAverageOIS & withONCalendar | ( | const Calendar & | onCalendar | ) |
Definition at line 173 of file makeaverageois.cpp.
MakeAverageOIS & withONConvention | ( | BusinessDayConvention | onConvention | ) |
Definition at line 178 of file makeaverageois.cpp.
MakeAverageOIS & withONTerminationDateConvention | ( | BusinessDayConvention | onTerminationDateConvention | ) |
Definition at line 183 of file makeaverageois.cpp.
MakeAverageOIS & withONRule | ( | DateGeneration::Rule | onRule | ) |
Definition at line 188 of file makeaverageois.cpp.
MakeAverageOIS & withONEndOfMonth | ( | bool | onEndOfMonth = false | ) |
Definition at line 193 of file makeaverageois.cpp.
MakeAverageOIS & withONFirstDate | ( | const Date & | onFirstDate | ) |
Definition at line 198 of file makeaverageois.cpp.
MakeAverageOIS & withONNextToLastDate | ( | const Date & | onNextToLastDate | ) |
Definition at line 203 of file makeaverageois.cpp.
MakeAverageOIS & withRateCutoff | ( | Natural | rateCutoff | ) |
MakeAverageOIS & withONSpread | ( | Spread | onSpread | ) |
Definition at line 213 of file makeaverageois.cpp.
MakeAverageOIS & withONGearing | ( | Real | onGearing | ) |
Definition at line 218 of file makeaverageois.cpp.
MakeAverageOIS & withONDayCounter | ( | const DayCounter & | onDayCounter | ) |
Definition at line 223 of file makeaverageois.cpp.
MakeAverageOIS & withONPaymentAdjustment | ( | BusinessDayConvention | onPaymentAdjustment | ) |
Definition at line 228 of file makeaverageois.cpp.
MakeAverageOIS & withONPaymentCalendar | ( | const Calendar & | onPaymentCalendar | ) |
Definition at line 233 of file makeaverageois.cpp.
MakeAverageOIS & withTelescopicValueDates | ( | bool | telescopicValueDates | ) |
MakeAverageOIS & withONCouponPricer | ( | const QuantLib::ext::shared_ptr< AverageONIndexedCouponPricer > & | onCouponPricer | ) |
Definition at line 244 of file makeaverageois.cpp.
MakeAverageOIS & withDiscountingTermStructure | ( | const Handle< YieldTermStructure > & | discountCurve | ) |
Definition at line 249 of file makeaverageois.cpp.
MakeAverageOIS & withPricingEngine | ( | const QuantLib::ext::shared_ptr< PricingEngine > & | engine | ) |
Definition at line 255 of file makeaverageois.cpp.
|
private |
Definition at line 90 of file makeaverageois.hpp.
|
private |
Definition at line 91 of file makeaverageois.hpp.
|
private |
Definition at line 92 of file makeaverageois.hpp.
|
private |
Definition at line 93 of file makeaverageois.hpp.
|
private |
Definition at line 94 of file makeaverageois.hpp.
|
private |
Definition at line 95 of file makeaverageois.hpp.
|
private |
Definition at line 96 of file makeaverageois.hpp.
|
private |
Definition at line 97 of file makeaverageois.hpp.
|
private |
Definition at line 99 of file makeaverageois.hpp.
|
private |
Definition at line 100 of file makeaverageois.hpp.
|
private |
Definition at line 101 of file makeaverageois.hpp.
|
private |
Definition at line 102 of file makeaverageois.hpp.
|
private |
Definition at line 103 of file makeaverageois.hpp.
|
private |
Definition at line 105 of file makeaverageois.hpp.
|
private |
Definition at line 106 of file makeaverageois.hpp.
|
private |
Definition at line 107 of file makeaverageois.hpp.
|
private |
Definition at line 108 of file makeaverageois.hpp.
|
private |
Definition at line 109 of file makeaverageois.hpp.
|
private |
Definition at line 110 of file makeaverageois.hpp.
|
private |
Definition at line 111 of file makeaverageois.hpp.
|
private |
Definition at line 112 of file makeaverageois.hpp.
|
private |
Definition at line 113 of file makeaverageois.hpp.
|
private |
Definition at line 115 of file makeaverageois.hpp.
|
private |
Definition at line 116 of file makeaverageois.hpp.
|
private |
Definition at line 117 of file makeaverageois.hpp.
|
private |
Definition at line 118 of file makeaverageois.hpp.
|
private |
Definition at line 119 of file makeaverageois.hpp.
|
private |
Definition at line 120 of file makeaverageois.hpp.
|
private |
Definition at line 121 of file makeaverageois.hpp.
|
private |
Definition at line 122 of file makeaverageois.hpp.
|
private |
Definition at line 123 of file makeaverageois.hpp.
|
private |
Definition at line 124 of file makeaverageois.hpp.
|
private |
Definition at line 125 of file makeaverageois.hpp.
|
private |
Definition at line 126 of file makeaverageois.hpp.
|
private |
Definition at line 127 of file makeaverageois.hpp.
|
private |
Definition at line 128 of file makeaverageois.hpp.
|
private |
Definition at line 130 of file makeaverageois.hpp.
|
private |
Definition at line 131 of file makeaverageois.hpp.