32 index_->name() <<
" has no fixing");
37 return !
index_->timeSeries().empty();
41 return std::min<Date>(
index_->timeSeries().lastDate(),
ext::shared_ptr< Index > index_
Date referenceDate() const
LastFixingQuote(ext::shared_ptr< Index > index)
Real value() const override
returns the current value
bool isValid() const override
returns true if the Quote holds a valid value
std::pair< iterator, bool > registerWith(const ext::shared_ptr< Observable > &)
DateProxy & evaluationDate()
the date at which pricing is to be performed.
static Settings & instance()
access to the unique instance
#define QL_ENSURE(condition, message)
throw an error if the given post-condition is not verified
quote for the last fixing available for a given index
global repository for run-time library settings