Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
simmconfigurationisdav2_0.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_0.hpp
20 \brief SIMM configuration for SIMM version 2.0 (1.3.44)
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.0 (based on v1.3.44: 26 July 2017).
32 Effective Date: December 4, 2017.</em>
33
34 This file used to be called simmconfigurationisdav344.hpp
35 This class used to be called SimmConfiguration_ISDA_V344
36
37*/
39public:
40 SimmConfiguration_ISDA_V2_0(const QuantLib::ext::shared_ptr<SimmBucketMapper>& simmBucketMapper,
41 const std::string& name = "SIMM ISDA 2.0 (24 May 2017)",
42 const std::string version = "2.0");
43
44 //! Return the SIMM <em>Label2</em> value for the given interest rate index
45 std::string label2(const QuantLib::ext::shared_ptr<QuantLib::InterestRateIndex>& irIndex) const override;
46
47 //! Add SIMM <em>Label2</em> values under certain circumstances.
48 void addLabels2(const CrifRecord::RiskType& rt, const std::string& label_2) override;
49};
50
51} // namespace analytics
52} // 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.