38 const std::string&
name =
"SIMM ISDA 2.3 (8 July 2020)",
39 const std::string
version =
"2.3");
42 std::string
label2(
const QuantLib::ext::shared_ptr<QuantLib::InterestRateIndex>& irIndex)
const override;
50 boost::optional<std::string> label_1 = boost::none,
51 const std::string& calculationCurrency =
"")
const override;
54 const std::string& firstLabel_1,
const std::string& firstLabel_2,
56 const std::string& secondLabel_1,
const std::string& secondLabel_2,
57 const std::string& calculationCurrency =
"")
const override;
61 QuantLib::Size
group(
const std::string& qualifier,
62 const std::map<QuantLib::Size, std::set<std::string>>& groups)
const;
67 std::map<QuantLib::Size, std::set<std::string>>
ccyGroups_;
QuantLib::Real correlation(const CrifRecord::RiskType &firstRt, const std::string &firstQualifier, const std::string &firstLabel_1, const std::string &firstLabel_2, const CrifRecord::RiskType &secondRt, const std::string &secondQualifier, const std::string &secondLabel_1, const std::string &secondLabel_2, const std::string &calculationCurrency="") const override
QuantLib::Real weight(const CrifRecord::RiskType &rt, boost::optional< std::string > qualifier=boost::none, boost::optional< std::string > label_1=boost::none, const std::string &calculationCurrency="") const override
QuantLib::Matrix fxRegVolCorrelation_
FX Correlations when the calculation ccy is in the Regular Volatility group.
QuantLib::Matrix fxHighVolCorrelation_
FX Correlations when the calculation ccy is in the High Volatility group.
QuantLib::Real curvatureMarginScaling() const override
std::string label2(const QuantLib::ext::shared_ptr< QuantLib::InterestRateIndex > &irIndex) const override
Return the SIMM Label2 value for the given interest rate index.
void addLabels2(const CrifRecord::RiskType &rt, const std::string &label_2) override
Add SIMM Label2 values under certain circumstances.
std::map< QuantLib::Size, std::set< std::string > > ccyGroups_
QuantLib::Matrix rwFX_
FX risk weight matrix.
QuantLib::Real hvr_ir_
IR Historical volatility ratio.
QuantLib::Size group(const std::string &qualifier, const std::map< QuantLib::Size, std::set< std::string > > &groups) const
Find the group of the qualifier.
QuantLib::Size mporDays() const
MPOR in days.
const std::string & name() const override
Returns the SIMM configuration name.
const std::string & version() const override
Returns the SIMM configuration version.
Base SIMM configuration class.