Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
simmconfigurationisdav1_3_38.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/simmconfigurationisdav1_3_38.hpp
20 \brief SIMM configuration for SIMM version 1.3.38
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 R1.3 (based on v3.29: 1 April 2017).
32 Effective Date: April 1, 2017.</em>
33
34 This file used to be called simmconfigurationisdav338.hpp
35 This class used to be called SimmConfiguration_ISDA_V338
36
37*/
38// Do not have documentation for this class. The values are copied during refactor.
39
40//! Class giving the SIMM configuration for v1.3.38
42public:
43 SimmConfiguration_ISDA_V1_3_38(const QuantLib::ext::shared_ptr<SimmBucketMapper>& simmBucketMapper,
44 const std::string& name = "SIMM ISDA V1_3_38 (24 May 2017)",
45 const std::string version = "1.3.38");
46
47 //! Return the SIMM <em>Label2</em> value for the given interest rate index
48 std::string label2(const QuantLib::ext::shared_ptr<QuantLib::InterestRateIndex>& irIndex) const override;
49
50 //! Add SIMM <em>Label2</em> values under certain circumstances.
51 void addLabels2(const CrifRecord::RiskType& rt, const std::string& label_2) override;
52};
53
54} // namespace analytics
55} // namespace ore
Class giving the SIMM configuration for v1.3.38.
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.