46 const QuantLib::ext::shared_ptr<ore::analytics::ScenarioGeneratorData>& scenarioGeneratorData,
47 const QuantLib::ext::shared_ptr<ore::data::Market>& market,
const std::vector<string>& aggDataIndices,
48 const std::vector<string>& aggDataCurrencies,
const Size aggDataNumberCreditStates);
52 const QuantLib::Size nThreads,
const QuantLib::Date& today,
const QuantLib::Size nSamples,
53 const QuantLib::ext::shared_ptr<ore::data::Loader>& loader,
54 const QuantLib::ext::shared_ptr<ScenarioGeneratorData>& scenarioGeneratorData,
55 const std::vector<string>& aggDataIndices,
const std::vector<string>& aggDataCurrencies,
56 const Size aggDataNumberCreditStates,
const QuantLib::ext::shared_ptr<CrossAssetModelData>& crossAssetModelData,
57 const QuantLib::ext::shared_ptr<ore::data::EngineData>& engineData,
58 const QuantLib::ext::shared_ptr<ore::data::CurveConfigurations>& curveConfigs,
59 const QuantLib::ext::shared_ptr<ore::data::TodaysMarketParameters>& todaysMarketParams,
60 const std::string& configurationLgmCalibration,
const std::string& configurationFxCalibration,
61 const std::string& configurationEqCalibration,
const std::string& configurationInfCalibration,
62 const std::string& configurationCrCalibration,
const std::string& configurationFinalModel,
63 const QuantLib::ext::shared_ptr<ore::data::ReferenceDataManager>& referenceData =
nullptr,
65 const bool handlePseudoCurrenciesTodaysMarket =
true,
66 const std::function<QuantLib::ext::shared_ptr<ore::analytics::NPVCube>(
67 const QuantLib::Date&,
const std::set<std::string>&,
const std::vector<QuantLib::Date>&,
68 const QuantLib::Size)>& cubeFactory = {},
69 const QuantLib::ext::shared_ptr<Scenario>& offSetScenario =
nullptr,
70 const QuantLib::ext::shared_ptr<ore::analytics::ScenarioSimMarketParameters>& simMarketParams =
nullptr);
73 void buildCube(
const QuantLib::ext::shared_ptr<ore::data::Portfolio>& portfolio,
74 QuantLib::ext::shared_ptr<ore::analytics::NPVCube>& outputCube);
77 void buildCube(
const QuantLib::ext::shared_ptr<ore::data::Portfolio>& portfolio);
90 QuantLib::ext::shared_ptr<ore::analytics::AggregationScenarioData>
asd_;
101 const QuantLib::ext::shared_ptr<QuantExt::CrossAssetModel>
model_;
102 const QuantLib::ext::shared_ptr<ore::data::Market>
market_;
108 QuantLib::ext::shared_ptr<ore::data::Loader>
loader_;
122 std::function<QuantLib::ext::shared_ptr<ore::analytics::NPVCube>(
const QuantLib::Date&,
const std::set<std::string>&,
123 const std::vector<QuantLib::Date>&,
const QuantLib::Size)>
128 std::vector<QuantLib::ext::shared_ptr<ore::analytics::NPVCube>>
miniCubes_;
QuantLib::ext::shared_ptr< ore::data::CurveConfigurations > curveConfigs_
std::string configurationEqCalibration_
QuantLib::ext::shared_ptr< ore::data::TodaysMarketParameters > todaysMarketParams_
const QuantLib::ext::shared_ptr< QuantExt::CrossAssetModel > model_
const QuantLib::ext::shared_ptr< ore::analytics::AggregationScenarioData > & aggregationScenarioData() const
Get aggregation data.
QuantLib::ext::shared_ptr< ore::analytics::ScenarioSimMarketParameters > simMarketParams_
std::vector< QuantLib::ext::shared_ptr< ore::analytics::NPVCube > > miniCubes_
std::string configurationCrCalibration_
const Size aggDataNumberCreditStates_
std::vector< QuantLib::ext::shared_ptr< ore::analytics::NPVCube > > outputCubes() const
void buildCube(const QuantLib::ext::shared_ptr< ore::data::Portfolio > &portfolio, QuantLib::ext::shared_ptr< ore::analytics::NPVCube > &outputCube)
build cube in single threaded run
QuantLib::ext::shared_ptr< ore::analytics::AggregationScenarioData > asd_
QuantLib::ext::shared_ptr< ScenarioGeneratorData > scenarioGeneratorData_
const QuantLib::ext::shared_ptr< ore::data::Market > market_
QuantLib::ext::shared_ptr< ore::data::ReferenceDataManager > referenceData_
std::string configurationInfCalibration_
bool handlePseudoCurrenciesTodaysMarket_
QuantLib::ext::shared_ptr< Scenario > offsetScenario_
ore::data::IborFallbackConfig iborFallbackConfig_
AMCValuationEngine(const QuantLib::ext::shared_ptr< QuantExt::CrossAssetModel > &model, const QuantLib::ext::shared_ptr< ore::analytics::ScenarioGeneratorData > &scenarioGeneratorData, const QuantLib::ext::shared_ptr< ore::data::Market > &market, const std::vector< string > &aggDataIndices, const std::vector< string > &aggDataCurrencies, const Size aggDataNumberCreditStates)
Constructor for single-threaded runs.
std::string configurationFxCalibration_
std::string configurationLgmCalibration_
QuantLib::ext::shared_ptr< CrossAssetModelData > crossAssetModelData_
std::string configurationFinalModel_
QuantLib::ext::shared_ptr< ore::analytics::AggregationScenarioData > & aggregationScenarioData()
Set aggregation data.
const std::vector< string > aggDataCurrencies_
QuantLib::ext::shared_ptr< ore::data::Loader > loader_
const std::vector< string > aggDataIndices_
std::function< QuantLib::ext::shared_ptr< ore::analytics::NPVCube >(const QuantLib::Date &, const std::set< std::string > &, const std::vector< QuantLib::Date > &, const QuantLib::Size)> cubeFactory_
QuantLib::ext::shared_ptr< ore::data::EngineData > engineData_
static IborFallbackConfig defaultConfig()
Scenario generator configuration.