#include <qle/indexes/iborindexfixingoverride.hpp>
|
| OvernightIndexWithFixingOverride (const QuantLib::ext::shared_ptr< QuantLib::OvernightIndex > &index, const std::map< QuantLib::Date, double > &fixingOverrides) |
|
| OvernightIndexWithFixingOverride (const std::string &familyName, QuantLib::Natural settlementDays, const QuantLib::Currency ¤cy, const QuantLib::Calendar &fixingCalendar, const QuantLib::DayCounter &dayCounter, const QuantLib::Handle< QuantLib::YieldTermStructure > &h, const std::map< QuantLib::Date, double > &fixingOverrides) |
|
QuantLib::ext::shared_ptr< QuantLib::IborIndex > | clone (const QuantLib::Handle< QuantLib::YieldTermStructure > &forwarding) const override |
|
|
QuantLib::Rate | pastFixing (const QuantLib::Date &fixingDate) const override |
|
Definition at line 72 of file iborindexfixingoverride.hpp.
◆ OvernightIndexWithFixingOverride() [1/2]
OvernightIndexWithFixingOverride |
( |
const QuantLib::ext::shared_ptr< QuantLib::OvernightIndex > & |
index, |
|
|
const std::map< QuantLib::Date, double > & |
fixingOverrides |
|
) |
| |
Definition at line 74 of file iborindexfixingoverride.hpp.
77 index->fixingCalendar(), index->dayCounter(),
78 index->forwardingTermStructure(), fixingOverrides) {}
OvernightIndexWithFixingOverride(const QuantLib::ext::shared_ptr< QuantLib::OvernightIndex > &index, const std::map< QuantLib::Date, double > &fixingOverrides)
◆ OvernightIndexWithFixingOverride() [2/2]
OvernightIndexWithFixingOverride |
( |
const std::string & |
familyName, |
|
|
QuantLib::Natural |
settlementDays, |
|
|
const QuantLib::Currency & |
currency, |
|
|
const QuantLib::Calendar & |
fixingCalendar, |
|
|
const QuantLib::DayCounter & |
dayCounter, |
|
|
const QuantLib::Handle< QuantLib::YieldTermStructure > & |
h, |
|
|
const std::map< QuantLib::Date, double > & |
fixingOverrides |
|
) |
| |
Definition at line 80 of file iborindexfixingoverride.hpp.
85 : QuantLib::OvernightIndex(familyName, settlementDays, currency, fixingCalendar, dayCounter, h),
std::map< QuantLib::Date, double > fixingOverrides_
◆ clone()
QuantLib::ext::shared_ptr< QuantLib::IborIndex > clone |
( |
const QuantLib::Handle< QuantLib::YieldTermStructure > & |
forwarding | ) |
const |
|
override |
Definition at line 89 of file iborindexfixingoverride.hpp.
89 {
90 return ext::make_shared<OvernightIndexWithFixingOverride>(
91 familyName(), fixingDays(), currency(), fixingCalendar(), dayCounter(), forwarding,
fixingOverrides_);
92 }
◆ pastFixing()
QuantLib::Rate pastFixing |
( |
const QuantLib::Date & |
fixingDate | ) |
const |
|
overrideprotected |
Definition at line 95 of file iborindexfixingoverride.hpp.
95 {
98 return histFixing->second;
99 } else {
100 return QuantLib::IborIndex::pastFixing(fixingDate);
101 }
102 }
◆ fixingOverrides_
std::map<QuantLib::Date, double> fixingOverrides_ |
|
private |