29#include <ql/math/matrix.hpp>
36std::vector<std::string>
loadFactorList(
const std::string& inputFileName,
const char delim =
'\n');
38std::vector<std::vector<double>>
loadScenarios(
const std::string& inputFileName,
const char delim =
'\n');
43enum class SimmVersion {
V1_0,
V1_1,
V1_2,
V1_3,
V1_3_38,
V2_0,
V2_1,
V2_2,
V2_3,
V2_3_8,
V2_5,
V2_5A,
V2_6};
47QuantLib::ext::shared_ptr<SimmConfiguration>
48buildSimmConfiguration(
const std::string& simmVersion,
const QuantLib::ext::shared_ptr<SimmBucketMapper>& simmBucketMapper,
49 const QuantLib::ext::shared_ptr<SimmCalibrationData>& simmCalibrationData =
nullptr,
50 const QuantExt::Size& mporDays = 10);
std::vector< std::vector< double > > loadScenarios(const std::string &inputFileName, const char delim)
std::vector< std::string > loadFactorList(const std::string &inputFileName, const char delim)
SimmVersion
Ordered SIMM versions.
std::string escapeCommaSeparatedList(const std::string &str, const char &csvQuoteChar)
SimmVersion parseSimmVersion(const string &version)
QuantLib::ext::shared_ptr< SimmConfiguration > buildSimmConfiguration(const string &simmVersion, const QuantLib::ext::shared_ptr< SimmBucketMapper > &simmBucketMapper, const QuantLib::ext::shared_ptr< SimmCalibrationData > &simmCalibrationData, const Size &mporDays)
Matrix loadCovarianceMatrix(const std::string &inputFileName, const char delim)
Abstract base class for classes that map SIMM qualifiers to buckets.
SIMM class for defining SIMM risk weights, thresholds, buckets, and labels. Currently only supports t...
SIMM configuration interface.