28 if (
auto eqDatum = QuantLib::ext::dynamic_pointer_cast<EquitySpotQuote>(datum))
30 else if (
auto eqDatum = QuantLib::ext::dynamic_pointer_cast<EquityForwardQuote>(datum))
32 }
catch (
const std::exception& e) {
33 DLOG(
"AdjustedInMemoryLoader failure on " <<
name <<
": " << e.what());
virtual void add(QuantLib::Date date, const std::string &name, QuantLib::Real value) override
virtual void addFixing(QuantLib::Date date, const std::string &name, QuantLib::Real value) override
ore::data::AdjustmentFactors factors_
QuantLib::Real getFactor(const std::string &name, const QuantLib::Date &d) const
Returns the adjustment factor for a name on a given date.
virtual void addFixing(QuantLib::Date date, const string &name, QuantLib::Real value)
virtual void add(QuantLib::Date date, const string &name, QuantLib::Real value)
SafeStack< ValueType > value
QuantLib::ext::shared_ptr< MarketDatum > parseMarketDatum(const Date &asof, const string &datumName, const Real &value)
Function to parse a market datum.
QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > parseEquityIndex(const string &s)
Convert std::string (e.g SP5) to QuantExt::EquityIndex.
Map text representations to QuantLib/QuantExt types.
#define DLOG(text)
Logging Macro (Level = Debug)
Serializable Credit Default Swap.