Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
simmconfigurationisdav2_1.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2016 Quaternion Risk Management Ltd.
3 All rights reserved.
4
5 This file is part of ORE, a free-software/open-source library
6 for transparent pricing and risk analysis - http://opensourcerisk.org
7
8 ORE is free software: you can redistribute it and/or modify it
9 under the terms of the Modified BSD License. You should have received a
10 copy of the license along with this program.
11 The license is also available online at <http://opensourcerisk.org>
12
13 This program is distributed on the basis that it will form a useful
14 contribution to risk analytics and model standardisation, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
17*/
18
19/*! \file orea/simm/simmconfigurationisdav2_1.hpp
20 \brief SIMM configuration for SIMM version 2.1 (2.0.6)
21*/
22
23#pragma once
24
26
27namespace ore {
28namespace analytics {
29
30/*! Class giving the SIMM configuration as outlined in the document
31 <em>ISDA SIMM Methodology, version 2.1 (based on v2.0.6: 10 July 2018).
32 Effective Date: December 1, 2018.</em>
33*/
35public:
36 SimmConfiguration_ISDA_V2_1(const QuantLib::ext::shared_ptr<SimmBucketMapper>& simmBucketMapper,
37 const std::string& name = "SIMM ISDA 2.1 (10 July 2018)",
38 const std::string version = "2.1");
39
40 //! Return the SIMM <em>Label2</em> value for the given interest rate index
41 std::string label2(const QuantLib::ext::shared_ptr<QuantLib::InterestRateIndex>& irIndex) const override;
42
43 //! Add SIMM <em>Label2</em> values under certain circumstances.
44 void addLabels2(const CrifRecord::RiskType& rt, const std::string& label_2) override;
45
46 QuantLib::Real curvatureMarginScaling() const override;
47};
48
49} // namespace analytics
50} // namespace ore
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.
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.