Description of sensitivity shift scenarios. More...
#include <orea/scenario/sensitivityscenariodata.hpp>
Classes | |
struct | BaseCorrelationShiftData |
struct | CapFloorVolShiftData |
struct | CapFloorVolShiftParData |
struct | CdsVolShiftData |
struct | CurveShiftData |
struct | CurveShiftParData |
struct | GenericYieldVolShiftData |
struct | ShiftData |
struct | VolShiftData |
Public Types | |
using | SpotShiftData = ShiftData |
Public Member Functions | |
SensitivityScenarioData (bool parConversion=true) | |
Default constructor. More... | |
Inspectors | |
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | discountCurveShiftData () const |
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | indexCurveShiftData () const |
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | yieldCurveShiftData () const |
const map< string, SpotShiftData > & | fxShiftData () const |
const map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & | capFloorVolShiftData () const |
const map< string, GenericYieldVolShiftData > & | swaptionVolShiftData () const |
const map< string, GenericYieldVolShiftData > & | yieldVolShiftData () const |
const map< string, VolShiftData > & | fxVolShiftData () const |
const map< string, CdsVolShiftData > & | cdsVolShiftData () const |
const map< string, BaseCorrelationShiftData > & | baseCorrelationShiftData () const |
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | zeroInflationCurveShiftData () const |
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | yoyInflationCurveShiftData () const |
const map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & | yoyInflationCapFloorVolShiftData () const |
const map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & | zeroInflationCapFloorVolShiftData () const |
const map< string, string > & | creditCcys () const |
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | creditCurveShiftData () const |
const map< string, SpotShiftData > & | equityShiftData () const |
const map< string, VolShiftData > & | equityVolShiftData () const |
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | dividendYieldShiftData () const |
const map< string, string > & | commodityCurrencies () const |
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | commodityCurveShiftData () const |
const map< string, VolShiftData > & | commodityVolShiftData () const |
const map< string, VolShiftData > & | correlationShiftData () const |
const map< string, SpotShiftData > & | securityShiftData () const |
const vector< pair< string, string > > & | crossGammaFilter () const |
const bool | computeGamma () const |
const bool | useSpreadedTermStructures () const |
const ShiftData & | shiftData (const ore::analytics::RiskFactorKey::KeyType &keyType, const std::string &name) const |
Give back the shift data for the given risk factor type, keyType , with the given name . More... | |
Setters | |
bool & | parConversion () |
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | discountCurveShiftData () |
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | indexCurveShiftData () |
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | yieldCurveShiftData () |
map< string, SpotShiftData > & | fxShiftData () |
map< string, GenericYieldVolShiftData > & | swaptionVolShiftData () |
map< string, GenericYieldVolShiftData > & | yieldVolShiftData () |
map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & | capFloorVolShiftData () |
map< string, VolShiftData > & | fxVolShiftData () |
map< string, CdsVolShiftData > & | cdsVolShiftData () |
map< string, BaseCorrelationShiftData > & | baseCorrelationShiftData () |
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | zeroInflationCurveShiftData () |
map< string, string > & | creditCcys () |
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | creditCurveShiftData () |
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | yoyInflationCurveShiftData () |
map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & | yoyInflationCapFloorVolShiftData () |
map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & | zeroInflationCapFloorVolShiftData () |
map< string, SpotShiftData > & | equityShiftData () |
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | dividendYieldShiftData () |
map< string, VolShiftData > & | equityVolShiftData () |
map< string, string > & | commodityCurrencies () |
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & | commodityCurveShiftData () |
map< string, VolShiftData > & | commodityVolShiftData () |
map< string, VolShiftData > & | correlationShiftData () |
map< string, SpotShiftData > & | securityShiftData () |
vector< pair< string, string > > & | crossGammaFilter () |
bool & | computeGamma () |
bool & | useSpreadedTermStructures () |
Serialisation | |
virtual void | fromXML (XMLNode *node) override |
virtual XMLNode * | toXML (ore::data::XMLDocument &doc) const override |
Public Member Functions inherited from XMLSerializable | |
virtual | ~XMLSerializable () |
virtual void | fromXML (XMLNode *node)=0 |
virtual XMLNode * | toXML (XMLDocument &doc) const=0 |
void | fromFile (const std::string &filename) |
void | toFile (const std::string &filename) const |
void | fromXMLString (const std::string &xml) |
std::string | toXMLString () const |
Description of sensitivity shift scenarios.
Definition at line 46 of file sensitivityscenariodata.hpp.
using SpotShiftData = ShiftData |
Definition at line 69 of file sensitivityscenariodata.hpp.
SensitivityScenarioData | ( | bool | parConversion = true | ) |
Default constructor.
Definition at line 140 of file sensitivityscenariodata.hpp.
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & discountCurveShiftData | ( | ) | const |
Definition at line 145 of file sensitivityscenariodata.hpp.
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & indexCurveShiftData | ( | ) | const |
Definition at line 148 of file sensitivityscenariodata.hpp.
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & yieldCurveShiftData | ( | ) | const |
Definition at line 149 of file sensitivityscenariodata.hpp.
const map< string, SpotShiftData > & fxShiftData | ( | ) | const |
Definition at line 150 of file sensitivityscenariodata.hpp.
const map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & capFloorVolShiftData | ( | ) | const |
Definition at line 151 of file sensitivityscenariodata.hpp.
const map< string, GenericYieldVolShiftData > & swaptionVolShiftData | ( | ) | const |
Definition at line 154 of file sensitivityscenariodata.hpp.
const map< string, GenericYieldVolShiftData > & yieldVolShiftData | ( | ) | const |
Definition at line 155 of file sensitivityscenariodata.hpp.
const map< string, VolShiftData > & fxVolShiftData | ( | ) | const |
Definition at line 156 of file sensitivityscenariodata.hpp.
const map< string, CdsVolShiftData > & cdsVolShiftData | ( | ) | const |
Definition at line 157 of file sensitivityscenariodata.hpp.
const map< string, BaseCorrelationShiftData > & baseCorrelationShiftData | ( | ) | const |
Definition at line 158 of file sensitivityscenariodata.hpp.
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & zeroInflationCurveShiftData | ( | ) | const |
Definition at line 159 of file sensitivityscenariodata.hpp.
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & yoyInflationCurveShiftData | ( | ) | const |
Definition at line 162 of file sensitivityscenariodata.hpp.
const map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & yoyInflationCapFloorVolShiftData | ( | ) | const |
Definition at line 165 of file sensitivityscenariodata.hpp.
const map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & zeroInflationCapFloorVolShiftData | ( | ) | const |
Definition at line 168 of file sensitivityscenariodata.hpp.
const map< string, string > & creditCcys | ( | ) | const |
Definition at line 171 of file sensitivityscenariodata.hpp.
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & creditCurveShiftData | ( | ) | const |
Definition at line 172 of file sensitivityscenariodata.hpp.
const map< string, SpotShiftData > & equityShiftData | ( | ) | const |
Definition at line 173 of file sensitivityscenariodata.hpp.
const map< string, VolShiftData > & equityVolShiftData | ( | ) | const |
Definition at line 174 of file sensitivityscenariodata.hpp.
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & dividendYieldShiftData | ( | ) | const |
Definition at line 175 of file sensitivityscenariodata.hpp.
const map< string, string > & commodityCurrencies | ( | ) | const |
Definition at line 178 of file sensitivityscenariodata.hpp.
const map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & commodityCurveShiftData | ( | ) | const |
Definition at line 179 of file sensitivityscenariodata.hpp.
const map< string, VolShiftData > & commodityVolShiftData | ( | ) | const |
Definition at line 182 of file sensitivityscenariodata.hpp.
const map< string, VolShiftData > & correlationShiftData | ( | ) | const |
Definition at line 183 of file sensitivityscenariodata.hpp.
const map< string, SpotShiftData > & securityShiftData | ( | ) | const |
Definition at line 184 of file sensitivityscenariodata.hpp.
const vector< pair< string, string > > & crossGammaFilter | ( | ) | const |
Definition at line 186 of file sensitivityscenariodata.hpp.
const bool computeGamma | ( | ) | const |
Definition at line 187 of file sensitivityscenariodata.hpp.
const bool useSpreadedTermStructures | ( | ) | const |
Definition at line 188 of file sensitivityscenariodata.hpp.
const ShiftData & shiftData | ( | const ore::analytics::RiskFactorKey::KeyType & | keyType, |
const std::string & | name | ||
) | const |
Give back the shift data for the given risk factor type, keyType
, with the given name
.
Definition at line 149 of file sensitivityscenariodata.cpp.
bool & parConversion | ( | ) |
Definition at line 196 of file sensitivityscenariodata.hpp.
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & discountCurveShiftData | ( | ) |
Definition at line 198 of file sensitivityscenariodata.hpp.
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & indexCurveShiftData | ( | ) |
Definition at line 199 of file sensitivityscenariodata.hpp.
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & yieldCurveShiftData | ( | ) |
Definition at line 200 of file sensitivityscenariodata.hpp.
map< string, SpotShiftData > & fxShiftData | ( | ) |
Definition at line 201 of file sensitivityscenariodata.hpp.
map< string, GenericYieldVolShiftData > & swaptionVolShiftData | ( | ) |
Definition at line 202 of file sensitivityscenariodata.hpp.
map< string, GenericYieldVolShiftData > & yieldVolShiftData | ( | ) |
Definition at line 203 of file sensitivityscenariodata.hpp.
map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & capFloorVolShiftData | ( | ) |
Definition at line 204 of file sensitivityscenariodata.hpp.
map< string, VolShiftData > & fxVolShiftData | ( | ) |
Definition at line 205 of file sensitivityscenariodata.hpp.
map< string, CdsVolShiftData > & cdsVolShiftData | ( | ) |
Definition at line 206 of file sensitivityscenariodata.hpp.
map< string, BaseCorrelationShiftData > & baseCorrelationShiftData | ( | ) |
Definition at line 207 of file sensitivityscenariodata.hpp.
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & zeroInflationCurveShiftData | ( | ) |
Definition at line 208 of file sensitivityscenariodata.hpp.
map< string, string > & creditCcys | ( | ) |
Definition at line 211 of file sensitivityscenariodata.hpp.
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & creditCurveShiftData | ( | ) |
Definition at line 212 of file sensitivityscenariodata.hpp.
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & yoyInflationCurveShiftData | ( | ) |
Definition at line 213 of file sensitivityscenariodata.hpp.
map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & yoyInflationCapFloorVolShiftData | ( | ) |
Definition at line 214 of file sensitivityscenariodata.hpp.
map< string, QuantLib::ext::shared_ptr< CapFloorVolShiftData > > & zeroInflationCapFloorVolShiftData | ( | ) |
Definition at line 217 of file sensitivityscenariodata.hpp.
map< string, SpotShiftData > & equityShiftData | ( | ) |
Definition at line 220 of file sensitivityscenariodata.hpp.
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & dividendYieldShiftData | ( | ) |
Definition at line 221 of file sensitivityscenariodata.hpp.
map< string, VolShiftData > & equityVolShiftData | ( | ) |
Definition at line 222 of file sensitivityscenariodata.hpp.
map< string, string > & commodityCurrencies | ( | ) |
Definition at line 223 of file sensitivityscenariodata.hpp.
map< string, QuantLib::ext::shared_ptr< CurveShiftData > > & commodityCurveShiftData | ( | ) |
Definition at line 224 of file sensitivityscenariodata.hpp.
map< string, VolShiftData > & commodityVolShiftData | ( | ) |
Definition at line 225 of file sensitivityscenariodata.hpp.
map< string, VolShiftData > & correlationShiftData | ( | ) |
Definition at line 226 of file sensitivityscenariodata.hpp.
map< string, SpotShiftData > & securityShiftData | ( | ) |
Definition at line 227 of file sensitivityscenariodata.hpp.
vector< pair< string, string > > & crossGammaFilter | ( | ) |
Definition at line 229 of file sensitivityscenariodata.hpp.
bool & computeGamma | ( | ) |
Definition at line 230 of file sensitivityscenariodata.hpp.
bool & useSpreadedTermStructures | ( | ) |
Definition at line 231 of file sensitivityscenariodata.hpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 201 of file sensitivityscenariodata.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 655 of file sensitivityscenariodata.cpp.
string getIndexCurrency | ( | string | indexName | ) |
Utilities.
Definition at line 1020 of file sensitivityscenariodata.cpp.
Definition at line 40 of file sensitivityscenariodata.cpp.
|
protected |
Definition at line 108 of file sensitivityscenariodata.cpp.
|
protected |
Definition at line 113 of file sensitivityscenariodata.cpp.
|
protected |
toXML helper methods
Definition at line 126 of file sensitivityscenariodata.cpp.
|
protected |
Definition at line 138 of file sensitivityscenariodata.cpp.
|
protected |
Definition at line 143 of file sensitivityscenariodata.cpp.
|
private |
Definition at line 1027 of file sensitivityscenariodata.cpp.
|
private |
toXML helper method
Definition at line 1040 of file sensitivityscenariodata.cpp.
|
protected |
Definition at line 263 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 264 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 265 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 266 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 267 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 268 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 269 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 270 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 271 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 272 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 273 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 274 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 275 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 277 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 278 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 279 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 280 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 281 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 282 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 283 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 284 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 285 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 286 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 287 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 289 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 290 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 291 of file sensitivityscenariodata.hpp.
|
protected |
Definition at line 292 of file sensitivityscenariodata.hpp.