24#ifndef quantext_tenor_basis_swap_helper_hpp
25#define quantext_tenor_basis_swap_helper_hpp
27#include <ql/termstructures/yield/ratehelpers.hpp>
39 TenorBasisSwapHelper(Handle<Quote> spread,
const Period& swapTenor,
const QuantLib::ext::shared_ptr<IborIndex> payIndex,
40 const QuantLib::ext::shared_ptr<IborIndex> receiveIndex,
41 const Handle<YieldTermStructure>& discountingCurve = Handle<YieldTermStructure>(),
42 bool spreadOnRec =
true,
bool includeSpread =
false,
const Period& payFrequency = Period(),
43 const Period& recFrequency = Period(),
const bool telescopicValueDates =
false,
53 QuantLib::ext::shared_ptr<TenorBasisSwap>
swap()
const {
return swap_; }
57 void accept(AcyclicVisitor&)
override;
74 QuantLib::ext::shared_ptr<TenorBasisSwap>
swap_;
Rate helper for bootstrapping using Libor tenor basis swaps.
QuantLib::ext::shared_ptr< IborIndex > payIndex_
RelinkableHandle< YieldTermStructure > discountRelinkableHandle_
void setTermStructure(YieldTermStructure *) override
QuantLib::ext::shared_ptr< IborIndex > receiveIndex_
bool telescopicValueDates_
RelinkableHandle< YieldTermStructure > termStructureHandle_
bool setDiscountRelinkableHandle_
Handle< YieldTermStructure > discountHandle_
void accept(AcyclicVisitor &) override
void initializeDates() override
Real impliedQuote() const override
QuantLib::ext::shared_ptr< TenorBasisSwap > swap() const
QuantLib::ext::shared_ptr< TenorBasisSwap > swap_
QuantExt::SubPeriodsCoupon1::Type type_
Single currency tenor basis swap instrument.