24#ifndef quantlib_makearithmeticaverageois_hpp
25#define quantlib_makearithmeticaverageois_hpp
40 const ext::shared_ptr<OvernightIndex>& overnightIndex,
45 operator ext::shared_ptr<ArithmeticAverageOIS>()
const;
67 const ext::shared_ptr<PricingEngine>& engine);
69 Real meanReversionSpeed = 0.03,
70 Real volatility = 0.00,
71 bool byApprox =
false);
Overnight index swap paying arithmetic average of overnight vs. fixed.
Arithemtic Average OIS: fix vs arithmetic average of overnight rate.
Shared handle to an observable.
ext::shared_ptr< OvernightIndex > overnightIndex_
MakeArithmeticAverageOIS & withOvernightLegSpread(Spread sp)
MakeArithmeticAverageOIS & withType(Swap::Type type)
MakeArithmeticAverageOIS & withEndOfMonth(bool flag=true)
DayCounter fixedDayCount_
Frequency fixedLegPaymentFrequency_
MakeArithmeticAverageOIS & withFixedLegPaymentFrequency(Frequency f)
MakeArithmeticAverageOIS & withEffectiveDate(const Date &)
MakeArithmeticAverageOIS & withArithmeticAverage(Real meanReversionSpeed=0.03, Real volatility=0.00, bool byApprox=false)
MakeArithmeticAverageOIS & withDiscountingTermStructure(const Handle< YieldTermStructure > &discountingTermStructure)
DateGeneration::Rule rule_
MakeArithmeticAverageOIS & withSettlementDays(Natural settlementDays)
MakeArithmeticAverageOIS & withFixedLegDayCount(const DayCounter &dc)
MakeArithmeticAverageOIS & receiveFixed(bool flag=true)
MakeArithmeticAverageOIS & withOvernightLegPaymentFrequency(Frequency f)
ext::shared_ptr< PricingEngine > engine_
MakeArithmeticAverageOIS & withPricingEngine(const ext::shared_ptr< PricingEngine > &engine)
MakeArithmeticAverageOIS & withNominal(Real n)
MakeArithmeticAverageOIS & withRule(DateGeneration::Rule r)
MakeArithmeticAverageOIS & withTerminationDate(const Date &)
Frequency overnightLegPaymentFrequency_
template class providing a null value for a given type.
Frequency
Frequency of events.
unsigned QL_INTEGER Natural
positive integer
Real Spread
spreads on interest rates
ext::shared_ptr< YieldTermStructure > r
Interest-rate term structure.