#include <qle/termstructures/bondyieldshiftedcurvetermstructure.hpp>
Public Member Functions | |
BondYieldShiftedCurveTermStructure (const QuantLib::Handle< YieldTermStructure > &originalCurve, const Real &bondSpread, const Real &duration) | |
BondYieldShiftedCurveTermStructure (const QuantLib::Handle< YieldTermStructure > &originalCurve, const std::vector< Real > &bondYields, const std::vector< Real > &bondDurations) | |
BondYieldShiftedCurveTermStructure interface | |
Handle< YieldTermStructure > | originalCurve_ |
Real | bondSpread_ |
Real | duration_ |
DayCounter | dayCounter () const override |
Calendar | calendar () const override |
Natural | settlementDays () const override |
const Date & | referenceDate () const override |
Date | maxDate () const override |
Real | bondSpread () const |
Real | duration () const |
DiscountFactor | discountImpl (Time) const override |
The given date will be the implied reference date.
Definition at line 40 of file bondyieldshiftedcurvetermstructure.hpp.
BondYieldShiftedCurveTermStructure | ( | const QuantLib::Handle< YieldTermStructure > & | originalCurve, |
const Real & | bondSpread, | ||
const Real & | duration | ||
) |
Definition at line 42 of file bondyieldshiftedcurvetermstructure.hpp.
BondYieldShiftedCurveTermStructure | ( | const QuantLib::Handle< YieldTermStructure > & | originalCurve, |
const std::vector< Real > & | bondYields, | ||
const std::vector< Real > & | bondDurations | ||
) |
Definition at line 49 of file bondyieldshiftedcurvetermstructure.hpp.
|
override |
Definition at line 98 of file bondyieldshiftedcurvetermstructure.hpp.
|
override |
Definition at line 100 of file bondyieldshiftedcurvetermstructure.hpp.
|
override |
Definition at line 102 of file bondyieldshiftedcurvetermstructure.hpp.
|
override |
Definition at line 110 of file bondyieldshiftedcurvetermstructure.hpp.
|
override |
Definition at line 104 of file bondyieldshiftedcurvetermstructure.hpp.
Real bondSpread | ( | ) | const |
Definition at line 106 of file bondyieldshiftedcurvetermstructure.hpp.
Real duration | ( | ) | const |
Definition at line 108 of file bondyieldshiftedcurvetermstructure.hpp.
|
overrideprotected |
Definition at line 114 of file bondyieldshiftedcurvetermstructure.hpp.
|
private |
Definition at line 91 of file bondyieldshiftedcurvetermstructure.hpp.
|
private |
Definition at line 92 of file bondyieldshiftedcurvetermstructure.hpp.
|
private |
Definition at line 93 of file bondyieldshiftedcurvetermstructure.hpp.