Logo
Reference manual - version orea_version
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
XvaAnalyticImpl Class Reference
+ Inheritance diagram for XvaAnalyticImpl:

Public Member Functions

 XvaAnalyticImpl (const boost::shared_ptr< InputParameters > &inputs)
 
virtual void runAnalytic (const boost::shared_ptr< ore::data::InMemoryLoader > &loader, const std::set< std::string > &runTypes={}) override
 
void setUpConfigurations () override
 
void checkConfigurations (const boost::shared_ptr< Portfolio > &portfolio)
 
- Public Member Functions inherited from Analytic::Impl
 Impl (const boost::shared_ptr< InputParameters > &inputs)
 
void setLabel (const string &label)
 
const std::string & label () const
 
void setAnalytic (Analytic *analytic)
 
Analyticanalytic () const
 
void setInputs (const QuantLib::ext::shared_ptr< InputParameters > &inputs)
 
bool generateAdditionalResults () const
 
void setGenerateAdditionalResults (const bool generateAdditionalResults)
 

Static Public Attributes

static constexpr const char * LABEL = "XVA"
 

Protected Member Functions

boost::shared_ptr< ore::data::EngineFactoryengineFactory () override
 build an engine factory
 
void buildScenarioSimMarket ()
 
void buildCrossAssetModel (bool continueOnError)
 
void buildScenarioGenerator (bool continueOnError)
 
void initCubeDepth ()
 
void initCube (boost::shared_ptr< NPVCube > &cube, const std::set< std::string > &ids, Size cubeDepth)
 
void initClassicRun (const boost::shared_ptr< Portfolio > &portfolio)
 
void buildClassicCube (const boost::shared_ptr< Portfolio > &portfolio)
 
boost::shared_ptr< PortfolioclassicRun (const boost::shared_ptr< Portfolio > &portfolio)
 
boost::shared_ptr< EngineFactoryamcEngineFactory (const boost::shared_ptr< QuantExt::CrossAssetModel > &cam, const std::vector< Date > &grid)
 
void buildAmcPortfolio ()
 
void amcRun (bool doClassicRun)
 
void runPostProcessor ()
 
Matrix creditStateCorrelationMatrix () const
 

Protected Attributes

boost::shared_ptr< ScenarioSimMarketsimMarket_
 
boost::shared_ptr< EngineFactoryengineFactory_
 
boost::shared_ptr< CrossAssetModelmodel_
 
boost::shared_ptr< ScenarioGeneratorscenarioGenerator_
 
boost::shared_ptr< PortfolioamcPortfolio_
 
boost::shared_ptr< PortfolioclassicPortfolio_
 
boost::shared_ptr< NPVCubecube_
 
boost::shared_ptr< NPVCubenettingSetCube_
 
boost::shared_ptr< NPVCubecptyCube_
 
boost::shared_ptr< NPVCubeamcCube_
 
QuantLib::RelinkableHandle< AggregationScenarioDatascenarioData_
 
boost::shared_ptr< CubeInterpretationcubeInterpreter_
 
boost::shared_ptr< DynamicInitialMarginCalculatordimCalculator_
 
boost::shared_ptr< PostProcesspostProcess_
 
Size cubeDepth_ = 0
 
boost::shared_ptr< DateGridgrid_
 
Size samples_ = 0
 
bool runSimulation_ = false
 
bool runXva_ = false
 
- Protected Attributes inherited from Analytic::Impl
QuantLib::ext::shared_ptr< InputParametersinputs_