|
| CommodityBasisFutureIndex (const std::string &underlyingName, const QuantLib::Date &expiryDate, const QuantLib::Calendar &fixingCalendar, const QuantLib::ext::shared_ptr< FutureExpiryCalculator > &basisFec, const QuantLib::ext::shared_ptr< QuantExt::CommodityIndex > &baseIndex, const QuantLib::ext::shared_ptr< FutureExpiryCalculator > &baseFec, const QuantLib::Handle< QuantExt::PriceTermStructure > &priceCurve=QuantLib::Handle< QuantExt::PriceTermStructure >(), const bool addBasis=true, const QuantLib::Size monthOffset=0, const bool baseIsAveraging=false, const bool priceAsHistoricalFixing=true) |
|
| CommodityBasisFutureIndex (const std::string &underlyingName, const QuantLib::Date &expiryDate, const QuantLib::Calendar &fixingCalendar, const QuantLib::ext::shared_ptr< CommodityBasisPriceTermStructure > &priceCurve) |
|
QuantLib::ext::shared_ptr< CommodityIndex > | clone (const QuantLib::Date &expiryDate=QuantLib::Date(), const boost::optional< QuantLib::Handle< PriceTermStructure > > &ts=boost::none) const override |
| Implement the base clone. Ajust the base future to match the same contract month. More...
|
|
QuantLib::Real | pastFixing (const QuantLib::Date &fixingDate) const override |
|
const QuantLib::ext::shared_ptr< QuantExt::CommodityIndex > & | baseIndex () |
|
QuantLib::ext::shared_ptr< QuantLib::CashFlow > | baseCashflow (const QuantLib::Date &paymentDate=QuantLib::Date()) const |
|
| CommodityFuturesIndex (const std::string &underlyingName, const Date &expiryDate, const Calendar &fixingCalendar, const Handle< QuantExt::PriceTermStructure > &priceCurve=Handle< QuantExt::PriceTermStructure >()) |
|
| CommodityFuturesIndex (const std::string &underlyingName, const Date &expiryDate, const Calendar &fixingCalendar, bool keepDays, const Handle< QuantExt::PriceTermStructure > &priceCurve=Handle< QuantExt::PriceTermStructure >()) |
|
QuantLib::ext::shared_ptr< CommodityIndex > | clone (const QuantLib::Date &expiryDate=QuantLib::Date(), const boost::optional< QuantLib::Handle< PriceTermStructure > > &ts=boost::none) const override |
| Implement the base clone. More...
|
|
| CommodityIndex (const std::string &underlyingName, const QuantLib::Date &expiryDate, const Calendar &fixingCalendar, const Handle< QuantExt::PriceTermStructure > &priceCurve=Handle< QuantExt::PriceTermStructure >()) |
|
| CommodityIndex (const std::string &underlyingName, const QuantLib::Date &expiryDate, const Calendar &fixingCalendar, bool keepDays, const Handle< QuantExt::PriceTermStructure > &priceCurve=Handle< QuantExt::PriceTermStructure >()) |
|
std::string | name () const override |
|
Calendar | fixingCalendar () const override |
|
bool | isValidFixingDate (const Date &fixingDate) const override |
|
Real | fixing (const Date &fixingDate, bool forecastTodaysFixing=false) const override |
|
void | update () override |
|
std::string | underlyingName () const |
|
const Handle< QuantExt::PriceTermStructure > & | priceCurve () const |
|
bool | isFuturesIndex () const |
|
const QuantLib::Date & | expiryDate () const |
|
bool | keepDays () const |
|
virtual Real | forecastFixing (const Date &fixingDate) const |
|
virtual Real | forecastFixing (const Time &fixingTime) const override |
| returns the fixing at the given time More...
|
|
virtual Real | pastFixing (const Date &fixingDate) const override |
| returns a past fixing at the given date More...
|
|
virtual | ~EqFxIndexBase () |
|
virtual Real | forecastFixing (const Time &fixingTime) const =0 |
| returns the fixing at the given time More...
|
|
virtual Real | pastFixing (const Date &fixingDate) const =0 |
| returns a past fixing at the given date More...
|
|
Commodity Basis Future Index.
This index can represent futures prices derived from basis future index and a base future index
Definition at line 36 of file commoditybasisfutureindex.hpp.