25#ifndef quantext_make_average_ois_hpp
26#define quantext_make_average_ois_hpp
41 MakeAverageOIS(
const Period& swapTenor,
const QuantLib::ext::shared_ptr<OvernightIndex>& overnightIndex,
42 const Period& onTenor, Rate fixedRate,
const Period& fixedTenor,
const DayCounter& fixedDayCounter,
43 const Period& spotLagTenor = 2 * Days,
const Period& forwardStart = 0 * Days);
46 operator QuantLib::ext::shared_ptr<AverageOIS>()
const;
130 QuantLib::ext::shared_ptr<PricingEngine>
engine_;
Swap of arithmetic average overnight index against fixed.
Average overnight index swap.
Type
Receiver (Payer) means receive (pay) fixed.
BusinessDayConvention fixedConvention_
MakeAverageOIS & withONCalendar(const Calendar &onCalendar)
QuantLib::ext::shared_ptr< OvernightIndex > overnightIndex_
bool telescopicValueDates_
Date fixedNextToLastDate_
MakeAverageOIS & withFixedConvention(BusinessDayConvention fixedConvention)
DayCounter fixedDayCounter_
BusinessDayConvention fixedPaymentAdjustment_
MakeAverageOIS & withFixedPaymentCalendar(const Calendar &fixedPaymentCalendar)
MakeAverageOIS & withTelescopicValueDates(bool telescopicValueDates)
MakeAverageOIS & withONRule(DateGeneration::Rule onRule)
MakeAverageOIS & withONNextToLastDate(const Date &onNextToLastDate)
Calendar spotLagCalendar_
MakeAverageOIS & receiveFixed(bool receiveFixed=true)
MakeAverageOIS & withRateCutoff(Natural rateCutoff)
MakeAverageOIS & withRule(DateGeneration::Rule rule)
BusinessDayConvention onPaymentAdjustment_
MakeAverageOIS & withONGearing(Real onGearing)
MakeAverageOIS & withONSpread(Spread onSpread)
MakeAverageOIS & withONFirstDate(const Date &onFirstDate)
MakeAverageOIS & withType(AverageOIS::Type type)
QuantLib::ext::shared_ptr< AverageONIndexedCouponPricer > onCouponPricer_
MakeAverageOIS & withFixedRule(DateGeneration::Rule fixedRule)
QuantLib::ext::shared_ptr< PricingEngine > engine_
MakeAverageOIS & withFixedPaymentAdjustment(BusinessDayConvention fixedPaymentAdjustment)
BusinessDayConvention onTerminationDateConvention_
MakeAverageOIS & withONDayCounter(const DayCounter &onDayCounter)
Calendar onPaymentCalendar_
MakeAverageOIS & withFixedFirstDate(const Date &fixedFirstDate)
MakeAverageOIS & withONEndOfMonth(bool onEndOfMonth=false)
DateGeneration::Rule fixedRule_
DateGeneration::Rule onRule_
BusinessDayConvention onConvention_
MakeAverageOIS & withEffectiveDate(const Date &effectiveDate)
MakeAverageOIS & withONConvention(BusinessDayConvention onConvention)
MakeAverageOIS & withONPaymentAdjustment(BusinessDayConvention onPaymentAdjustment)
Calendar fixedPaymentCalendar_
MakeAverageOIS & withFixedNextToLastDate(const Date &fixedNextToLastDate)
MakeAverageOIS & withFixedEndOfMonth(bool fixedEndOfMonth=false)
BusinessDayConvention fixedTerminationDateConvention_
MakeAverageOIS & withPricingEngine(const QuantLib::ext::shared_ptr< PricingEngine > &engine)
MakeAverageOIS & withONCouponPricer(const QuantLib::ext::shared_ptr< AverageONIndexedCouponPricer > &onCouponPricer)
MakeAverageOIS & withNominal(Real nominal)
MakeAverageOIS & withTerminationDate(const Date &terminationDate)
MakeAverageOIS & withDiscountingTermStructure(const Handle< YieldTermStructure > &discountCurve)
MakeAverageOIS & withFixedTerminationDateConvention(BusinessDayConvention fixedTerminationDateConvention)
MakeAverageOIS & withSpotLagCalendar(const Calendar &spotLagCalendar)
MakeAverageOIS & withONPaymentCalendar(const Calendar &onPaymentCalendar)
MakeAverageOIS & withONTerminationDateConvention(BusinessDayConvention onTerminationDateConvention)
MakeAverageOIS & withFixedCalendar(const Calendar &fixedCalendar)