27#include <ql/instruments/capfloor.hpp>
34 MakeOISCapFloor(CapFloor::Type type,
const Period& tenor,
const ext::shared_ptr<OvernightIndex>& index,
35 const Period& rateComputationPeriod, Rate strike,
36 const QuantLib::Handle<QuantLib::YieldTermStructure>& discountCurve = Handle<YieldTermStructure>());
55 QuantLib::ext::shared_ptr<OvernightIndex>
index_;
68 ext::shared_ptr<CappedFlooredOvernightIndexedCouponPricer>
pricer_;
ext::shared_ptr< CappedFlooredOvernightIndexedCouponPricer > pricer_
bool telescopicValueDates_
Period rateComputationPeriod_
MakeOISCapFloor & withEffectiveDate(const Date &effectiveDate)
QuantLib::ext::shared_ptr< OvernightIndex > index_
MakeOISCapFloor & withSettlementDays(Natural settlementDays)
MakeOISCapFloor & withDayCount(const DayCounter &dc)
MakeOISCapFloor & withCouponPricer(const ext::shared_ptr< CappedFlooredOvernightIndexedCouponPricer > &pricer)
MakeOISCapFloor & withRule(DateGeneration::Rule r)
QuantLib::Handle< QuantLib::YieldTermStructure > discountCurve_
MakeOISCapFloor & withTelescopicValueDates(bool telescopicValueDates)
BusinessDayConvention convention_
DateGeneration::Rule rule_
MakeOISCapFloor & withCalendar(const Calendar &cal)
MakeOISCapFloor & withDiscountCurve()
MakeOISCapFloor & withConvention(BusinessDayConvention bdc)
MakeOISCapFloor & withNominal(Real n)
Leg getOisCapFloorUnderlying(const Leg &oisCapFloor)
get the underlying ON coupons from an OIS cf
std::vector< std::pair< Real, Real > > getOisCapFloorStrikes(const Leg &oisCapFloor)
get the (cap, floor) - strikes from an OIS cf
coupon paying the compounded daily overnight rate, copy of QL class, added includeSpread flag