24#ifndef quantlib_arithmetic_average_ois_hpp
25#define quantlib_arithmetic_average_ois_hpp
46 Real meanReversionSpeed = 0.03,
47 Real volatility = 0.00,
48 bool byApprox =
false);
57 Real meanReversionSpeed = 0.03,
58 Real volatility = 0.00,
59 bool byApprox =
false);
Arithemtic Average OIS: fix vs arithmetic average of overnight rate.
ext::shared_ptr< OvernightIndex > overnightIndex_
void initialize(Schedule fixedLegSchedule, Schedule overnightLegSchedule)
const DayCounter & fixedDayCount()
std::vector< Real > nominals() const
Frequency fixedLegPaymentFrequency_
Spread fairSpread() const
const Leg & overnightLeg() const
Frequency overnightLegPaymentFrequency()
const ext::shared_ptr< OvernightIndex > & overnightIndex()
Frequency fixedLegPaymentFrequency()
const Leg & fixedLeg() const
Real overnightLegBPS() const
Frequency overnightLegPaymentFrequency_
Real overnightLegNPV() const
std::vector< Real > nominals_
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
Frequency
Frequency of events.
Real Spread
spreads on interest rates
std::vector< ext::shared_ptr< CashFlow > > Leg
Sequence of cash-flows.