33 const std::set<std::string>& runTypes) {
38 LOG(
"ScenarioAnalytic::runAnalytic called");
42 LOG(
"Building scenario simulation market for date " << io::iso_date(
inputs_->asof()));
44 auto ssm = QuantLib::ext::make_shared<ScenarioSimMarket>(
46 *
analytic()->configurations().curveConfig, *
analytic()->configurations().todaysMarketParams,
true,
53 QuantLib::ext::shared_ptr<InMemoryReport> report = QuantLib::ext::make_shared<InMemoryReport>();
Analytic * analytic() const
const std::string & label() const
QuantLib::ext::shared_ptr< InputParameters > inputs_
analytic_reports & reports()
Result reports.
Configurations & configurations()
virtual void buildMarket(const QuantLib::ext::shared_ptr< ore::data::InMemoryLoader > &loader, const bool marketRequired=true)
const QuantLib::ext::shared_ptr< ore::analytics::Scenario > & scenario() const
void setUpConfigurations() override
void runAnalytic(const QuantLib::ext::shared_ptr< ore::data::InMemoryLoader > &loader, const std::set< std::string > &runTypes={}) override
bool useSpreadedTermStructures_
void setScenario(const QuantLib::ext::shared_ptr< ore::analytics::Scenario > &scenario)
void setScenarioSimMarket(const QuantLib::ext::shared_ptr< ore::analytics::ScenarioSimMarket > &ssm)
Class for writing scenarios to file.
static const string defaultConfiguration
QuantLib::ext::shared_ptr< ore::data::TodaysMarketParameters > todaysMarketParams
QuantLib::ext::shared_ptr< ore::analytics::ScenarioSimMarketParameters > simMarketParams