26#include <ql/math/interpolation.hpp>
27#include <ql/patterns/lazyobject.hpp>
28#include <ql/termstructures/yieldtermstructure.hpp>
30#include <boost/make_shared.hpp>
44 SpreadedDiscountCurve(
const Handle<YieldTermStructure>& referenceCurve,
const std::vector<Time>& times,
45 const std::vector<Handle<Quote>>& quotes,
66 mutable std::vector<Real>
data_;
void performCalculations() const override
Calendar calendar() const override
Handle< YieldTermStructure > referenceCurve_
DiscountFactor discountImpl(Time t) const override
const Date & referenceDate() const override
std::vector< Time > times_
Interpolation interpolation_
Extrapolation extrapolation_
Natural settlementDays() const override
Date maxDate() const override
std::vector< Handle< Quote > > quotes_
QuantLib::ext::shared_ptr< QuantLib::Interpolation > dataInterpolation_
std::vector< Real > data_