24#ifndef quantlib_oiccbasisswap_helper_hpp
25#define quantlib_oiccbasisswap_helper_hpp
27#include <ql/instruments/overnightindexedswap.hpp>
28#include <ql/termstructures/yield/ratehelpers.hpp>
43 const QuantLib::ext::shared_ptr<OvernightIndex>& payIndex,
const Period& payTenor,
44 const QuantLib::ext::shared_ptr<OvernightIndex>& recIndex,
const Period& recTenor,
45 const Handle<Quote>& spreadQuote,
const Handle<YieldTermStructure>& fixedDiscountCurve,
46 bool spreadQuoteOnPayLeg,
bool fixedDiscountOnPayLeg);
54 QuantLib::ext::shared_ptr<OvernightIndexedCrossCcyBasisSwap>
swap()
const {
return swap_; }
58 void accept(AcyclicVisitor&)
override;
65 QuantLib::ext::shared_ptr<OvernightIndex>
payIndex_;
67 QuantLib::ext::shared_ptr<OvernightIndex>
recIndex_;
73 QuantLib::ext::shared_ptr<OvernightIndexedCrossCcyBasisSwap>
swap_;
Rate helper for bootstrapping over Overnight Indexed CC Basis Swap Spreads.
bool fixedDiscountOnPayLeg_
void setTermStructure(YieldTermStructure *) override
QuantLib::ext::shared_ptr< OvernightIndex > recIndex_
RelinkableHandle< YieldTermStructure > termStructureHandle_
void accept(AcyclicVisitor &) override
QuantLib::ext::shared_ptr< OvernightIndexedCrossCcyBasisSwap > swap_
void initializeDates() override
Real impliedQuote() const override
QuantLib::ext::shared_ptr< OvernightIndex > payIndex_
bool spreadQuoteOnPayLeg_
Handle< YieldTermStructure > fixedDiscountCurve_
QuantLib::ext::shared_ptr< OvernightIndexedCrossCcyBasisSwap > swap() const
Cross currency overnight index swap paying compounded overnight vs. float.