24#ifndef quantext_brl_cdi_rate_helper_hpp
25#define quantext_brl_cdi_rate_helper_hpp
27#include <ql/termstructures/yield/ratehelpers.hpp>
38 BRLCdiRateHelper(
const QuantLib::Period& swapTenor,
const QuantLib::Handle<QuantLib::Quote>& fixedRate,
39 const QuantLib::ext::shared_ptr<BRLCdi>& brlCdiIndex,
40 const QuantLib::Handle<QuantLib::YieldTermStructure>& discountingCurve =
41 QuantLib::Handle<QuantLib::YieldTermStructure>(),
42 bool telescopicValueDates =
false);
46 QuantLib::ext::shared_ptr<BRLCdiSwap>
swap()
const {
return swap_; }
57 void accept(QuantLib::AcyclicVisitor&)
override;
65 QuantLib::ext::shared_ptr<BRLCdiSwap>
swap_;
79 const QuantLib::Handle<QuantLib::Quote>& fixedRate,
80 const QuantLib::ext::shared_ptr<BRLCdi>& brlCdiIndex,
81 const QuantLib::Handle<QuantLib::YieldTermStructure>& discountingCurve =
82 QuantLib::Handle<QuantLib::YieldTermStructure>(),
83 bool telescopicValueDates =
false);
87 QuantLib::ext::shared_ptr<BRLCdiSwap>
swap()
const {
return swap_; }
98 void accept(QuantLib::AcyclicVisitor&)
override;
103 QuantLib::ext::shared_ptr<BRLCdiSwap>
swap_;
QuantLib::RelinkableHandle< QuantLib::YieldTermStructure > discountRelinkableHandle_
QuantLib::Period swapTenor_
bool telescopicValueDates_
QuantLib::ext::shared_ptr< BRLCdiSwap > swap_
void accept(QuantLib::AcyclicVisitor &) override
QuantLib::RelinkableHandle< QuantLib::YieldTermStructure > termStructureHandle_
QuantLib::ext::shared_ptr< BRLCdi > brlCdiIndex_
void initializeDates() override
QuantLib::ext::shared_ptr< BRLCdiSwap > swap() const
QuantLib::Real impliedQuote() const override
void setTermStructure(QuantLib::YieldTermStructure *) override
QuantLib::Handle< QuantLib::YieldTermStructure > discountHandle_
QuantLib::RelinkableHandle< QuantLib::YieldTermStructure > discountRelinkableHandle_
bool telescopicValueDates_
QuantLib::ext::shared_ptr< BRLCdiSwap > swap_
void accept(QuantLib::AcyclicVisitor &) override
QuantLib::RelinkableHandle< QuantLib::YieldTermStructure > termStructureHandle_
QuantLib::ext::shared_ptr< BRLCdi > brlCdiIndex_
QuantLib::ext::shared_ptr< BRLCdiSwap > swap() const
QuantLib::Real impliedQuote() const override
void setTermStructure(QuantLib::YieldTermStructure *) override
QuantLib::Handle< QuantLib::YieldTermStructure > discountHandle_