35 static constexpr const char*
LABEL =
"PNL_EXPLAIN";
42 auto sensiAnalytic = AnalyticFactory::instance().build(
"SENSITIVITY",
inputs_);
43 if (sensiAnalytic.second)
46 auto pnlAnalytic = AnalyticFactory::instance().build(
"PNL",
inputs_);
47 if (pnlAnalytic.second)
51 virtual void runAnalytic(
const QuantLib::ext::shared_ptr<ore::data::InMemoryLoader>& loader,
52 const std::set<std::string>& runTypes = {})
override;
void setLabel(const string &label)
void addDependentAnalytic(const std::string &key, const QuantLib::ext::shared_ptr< Analytic > &analytic)
QuantLib::ext::shared_ptr< InputParameters > inputs_
const QuantLib::ext::shared_ptr< InputParameters > & inputs() const
PnlExplainAnalytic(const QuantLib::ext::shared_ptr< InputParameters > &inputs)
virtual void setUpConfigurations() override
static constexpr const char * sensiLookupKey
virtual void runAnalytic(const QuantLib::ext::shared_ptr< ore::data::InMemoryLoader > &loader, const std::set< std::string > &runTypes={}) override
PnlExplainAnalyticImpl(const QuantLib::ext::shared_ptr< InputParameters > &inputs)
static constexpr const char * LABEL
static constexpr const char * pnlLookupKey