wrapper for ibor index wit individiual trade level fixings
More...
#include <qle/indexes/iborindexfixingoverride.hpp>
|
| IborIndexWithFixingOverride (const QuantLib::ext::shared_ptr< QuantLib::IborIndex > &index, const std::map< QuantLib::Date, double > &fixingOverrides) |
|
| IborIndexWithFixingOverride (const std::string &familyName, const QuantLib::Period &tenor, QuantLib::Natural settlementDays, const QuantLib::Currency ¤cy, const QuantLib::Calendar &fixingCalendar, QuantLib::BusinessDayConvention convention, bool endOfMonth, const QuantLib::DayCounter &dayCounter, QuantLib::Handle< QuantLib::YieldTermStructure > h, const std::map< QuantLib::Date, double > &fixingOverrides) |
|
|
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 |
|
wrapper for ibor index wit individiual trade level fixings
Definition at line 31 of file iborindexfixingoverride.hpp.
◆ IborIndexWithFixingOverride() [1/2]
IborIndexWithFixingOverride |
( |
const QuantLib::ext::shared_ptr< QuantLib::IborIndex > & |
index, |
|
|
const std::map< QuantLib::Date, double > & |
fixingOverrides |
|
) |
| |
Definition at line 33 of file iborindexfixingoverride.hpp.
36 index->fixingCalendar(), index->businessDayConvention(), index->endOfMonth(),
37 index->dayCounter(), index->forwardingTermStructure(), fixingOverrides) {}
IborIndexWithFixingOverride(const QuantLib::ext::shared_ptr< QuantLib::IborIndex > &index, const std::map< QuantLib::Date, double > &fixingOverrides)
◆ IborIndexWithFixingOverride() [2/2]
IborIndexWithFixingOverride |
( |
const std::string & |
familyName, |
|
|
const QuantLib::Period & |
tenor, |
|
|
QuantLib::Natural |
settlementDays, |
|
|
const QuantLib::Currency & |
currency, |
|
|
const QuantLib::Calendar & |
fixingCalendar, |
|
|
QuantLib::BusinessDayConvention |
convention, |
|
|
bool |
endOfMonth, |
|
|
const QuantLib::DayCounter & |
dayCounter, |
|
|
QuantLib::Handle< QuantLib::YieldTermStructure > |
h, |
|
|
const std::map< QuantLib::Date, double > & |
fixingOverrides |
|
) |
| |
Definition at line 39 of file iborindexfixingoverride.hpp.
45 : QuantLib::IborIndex(familyName, tenor, settlementDays, currency, fixingCalendar, convention, endOfMonth,
46 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 52 of file iborindexfixingoverride.hpp.
52 {
53 return ext::make_shared<IborIndexWithFixingOverride>(familyName(), tenor(), fixingDays(), currency(),
54 fixingCalendar(), businessDayConvention(), endOfMonth(),
56 }
◆ pastFixing()
QuantLib::Rate pastFixing |
( |
const QuantLib::Date & |
fixingDate | ) |
const |
|
overrideprotected |
Definition at line 59 of file iborindexfixingoverride.hpp.
59 {
62 return histFixing->second;
63 } else {
64 return QuantLib::IborIndex::pastFixing(fixingDate);
65 }
66 }
◆ fixingOverrides_
std::map<QuantLib::Date, double> fixingOverrides_ |
|
private |