24#ifndef quantext_brl_cdi_swap_hpp
25#define quantext_brl_cdi_swap_hpp
27#include <ql/instruments/overnightindexedswap.hpp>
33class BRLCdiSwap :
public QuantLib::OvernightIndexedSwap {
35 BRLCdiSwap(Type type, QuantLib::Real nominal,
const QuantLib::Date& startDate,
const QuantLib::Date& endDate,
36 QuantLib::Rate fixedRate,
const QuantLib::ext::shared_ptr<BRLCdi>& overnightIndex, QuantLib::Spread spread = 0.0,
37 bool telescopicValueDates =
false);
49 QuantLib::ext::shared_ptr<QuantLib::OvernightIndex>
index_;
QuantLib::Real fairRate() const
QuantLib::ext::shared_ptr< QuantLib::OvernightIndex > index_
QuantLib does not implement the method OvernightIndexedSwap::overnightIndex() so I need this.
QuantLib::Real fixedLegBPS() const
QuantLib::Date startDate_