24#ifndef quantext_sub_period_swap_helper_hpp_
25#define quantext_sub_period_swap_helper_hpp_
27#include <ql/termstructures/yield/ratehelpers.hpp>
40 const Calendar& fixedCalendar,
const DayCounter& fixedDayCount,
41 BusinessDayConvention fixedConvention,
const Period& floatPayTenor,
42 const QuantLib::ext::shared_ptr<IborIndex>& iborIndex,
const DayCounter& floatDayCount,
43 const Handle<YieldTermStructure>& discountingCurve = Handle<YieldTermStructure>(),
53 QuantLib::ext::shared_ptr<SubPeriodsSwap>
swap()
const {
return swap_; }
57 void accept(AcyclicVisitor&)
override;
64 QuantLib::ext::shared_ptr<SubPeriodsSwap>
swap_;
Rate helper for bootstrapping using Sub Periods Swaps.
RelinkableHandle< YieldTermStructure > discountRelinkableHandle_
void setTermStructure(YieldTermStructure *) override
BusinessDayConvention fixedConvention_
RelinkableHandle< YieldTermStructure > termStructureHandle_
DayCounter fixedDayCount_
DayCounter floatDayCount_
Handle< YieldTermStructure > discountHandle_
void accept(AcyclicVisitor &) override
QuantLib::ext::shared_ptr< SubPeriodsSwap > swap_
void initializeDates() override
Real impliedQuote() const override
QuantExt::SubPeriodsCoupon1::Type type_
QuantLib::ext::shared_ptr< IborIndex > iborIndex_
QuantLib::ext::shared_ptr< SubPeriodsSwap > swap() const
Single currency sub periods swap instrument.