25#include <boost/make_shared.hpp>
41 const QuantLib::ext::shared_ptr<ore::data::ReferenceDataManager>& referenceData =
nullptr,
43 const bool continueOnError =
false)
50 const QuantLib::ext::shared_ptr<ore::data::CurveConfigurations>& curveConfigs,
51 const QuantLib::ext::shared_ptr<ore::data::TodaysMarketParameters>& todaysMarketParams);
54 virtual void sensiInputInitialize(QuantLib::ext::shared_ptr<ScenarioSimMarketParameters>& simMarketData,
55 QuantLib::ext::shared_ptr<SensitivityScenarioData>&
sensiData,
56 QuantLib::ext::shared_ptr<EngineData>& engineData,
57 QuantLib::ext::shared_ptr<Portfolio>& sensiPortfolio);
60 virtual void sensiOutputReports(
const QuantLib::ext::shared_ptr<SensitivityAnalysis>& sensiAnalysis);
69 QuantLib::ext::shared_ptr<Parameters>
params_;
78 QuantLib::ext::shared_ptr<SensitivityScenarioData>
sensiData_;
QuantLib::ext::shared_ptr< SensitivityScenarioData > sensiData_
Sensitivity configuration data used for the sensitivity run.
const QuantLib::ext::shared_ptr< ScenarioSimMarket > & simMarket() const
virtual ~SensitivityRunner()
const bool continueOnError_
QuantLib::ext::shared_ptr< ScenarioSimMarket > simMarket_
Scenario simulation market that is bumped for the sensitivity run.
SensitivityRunner(QuantLib::ext::shared_ptr< Parameters > params, const QuantLib::ext::shared_ptr< ore::data::ReferenceDataManager > &referenceData=nullptr, const IborFallbackConfig &iborFallbackConfig=IborFallbackConfig::defaultConfig(), const bool continueOnError=false)
QuantLib::ext::shared_ptr< Parameters > params_
virtual void sensiInputInitialize(QuantLib::ext::shared_ptr< ScenarioSimMarketParameters > &simMarketData, QuantLib::ext::shared_ptr< SensitivityScenarioData > &sensiData, QuantLib::ext::shared_ptr< EngineData > &engineData, QuantLib::ext::shared_ptr< Portfolio > &sensiPortfolio)
Initialize input parameters to the sensitivities analysis.
QuantLib::ext::shared_ptr< ore::data::ReferenceDataManager > referenceData_
IborFallbackConfig iborFallbackConfig_
virtual void runSensitivityAnalysis(QuantLib::ext::shared_ptr< ore::data::Market > market, const QuantLib::ext::shared_ptr< ore::data::CurveConfigurations > &curveConfigs, const QuantLib::ext::shared_ptr< ore::data::TodaysMarketParameters > &todaysMarketParams)
virtual void sensiOutputReports(const QuantLib::ext::shared_ptr< SensitivityAnalysis > &sensiAnalysis)
Write out some standard sensitivities reports.
const QuantLib::ext::shared_ptr< SensitivityScenarioData > & sensiData() const
static IborFallbackConfig defaultConfig()
Open Risk Engine setup and analytics choice.
A class to hold Scenario parameters for scenarioSimMarket.
Perform sensitivity analysis for a given portfolio.
A class to hold the parametrisation for building sensitivity scenarios.