24#ifndef quantext_average_ois_rate_helper_hpp
25#define quantext_average_ois_rate_helper_hpp
27#include <ql/termstructures/yield/ratehelpers.hpp>
43 AverageOISRateHelper(
const Handle<Quote>& fixedRate,
const Period& spotLagTenor,
const Period& swapTenor,
45 const Period& fixedTenor,
const DayCounter& fixedDayCounter,
const Calendar& fixedCalendar,
46 BusinessDayConvention fixedConvention, BusinessDayConvention fixedPaymentAdjustment,
48 const QuantLib::ext::shared_ptr<OvernightIndex>& overnightIndex,
const Period& onTenor,
49 const Handle<Quote>&
onSpread, Natural rateCutoff,
51 const Handle<YieldTermStructure>& discountCurve = Handle<YieldTermStructure>(),
52 const bool telescopicValueDates =
false);
62 QuantLib::ext::shared_ptr<AverageOIS>
averageOIS()
const;
66 void accept(AcyclicVisitor&)
override;
Swap of arithmetic average overnight index against fixed.
RelinkableHandle< YieldTermStructure > discountRelinkableHandle_
void setTermStructure(YieldTermStructure *) override
BusinessDayConvention fixedConvention_
QuantLib::ext::shared_ptr< OvernightIndex > overnightIndex_
bool telescopicValueDates_
DayCounter fixedDayCounter_
RelinkableHandle< YieldTermStructure > termStructureHandle_
BusinessDayConvention fixedPaymentAdjustment_
QuantLib::ext::shared_ptr< AverageOIS > averageOIS_
Handle< YieldTermStructure > discountHandle_
void accept(AcyclicVisitor &) override
QuantLib::ext::shared_ptr< AverageOIS > averageOIS() const
void initializeDates() override
Real impliedQuote() const override
Handle< Quote > onSpread_