Namespaces | |
namespace | detail |
Typedefs | |
typedef std::map< QuantLib::Date, std::set< std::string > > | QuoteMap |
typedef std::map< std::string, RequiredFixings::FixingDates > | FixingMap |
typedef std::map< Currency, Matrix, CurrencyComparator > | result_type_matrix |
typedef std::map< Currency, std::vector< Real >, CurrencyComparator > | result_type_vector |
typedef std::map< Currency, Real, CurrencyComparator > | result_type_scalar |
using | ProductClass = CrifRecord::ProductClass |
using | RiskClass = SimmConfiguration::RiskClass |
typedef SimmConfiguration::MarginType | MarginType |
typedef SimmConfiguration::SimmSide | SimmSide |
typedef IMScheduleCalculator::IMScheduleTradeData | IMScheduleTradeData |
using | SinglePrecisionInMemoryCube = InMemoryCube1< float > |
InMemoryCube of depth 1 with single precision floating point numbers. More... | |
using | DoublePrecisionInMemoryCube = InMemoryCube1< double > |
InMemoryCube of depth 1 with double precision floating point numbers. More... | |
using | SinglePrecisionInMemoryCubeN = InMemoryCubeN< float > |
InMemoryCube of depth N with single precision floating point numbers. More... | |
using | DoublePrecisionInMemoryCubeN = InMemoryCubeN< double > |
InMemoryCube of depth N with double precision floating point numbers. More... | |
using | SinglePrecisionJaggedCube = JaggedCube< float > |
Jagged cube with single precision floating point numbers. More... | |
using | DoublePrecisionJaggedCube = JaggedCube< double > |
Jagged cube with double precision floating point numbers. More... | |
using | SinglePrecisionSensiCube = SensiCube< float > |
Sensi cube with single precision floating point numbers. More... | |
using | DoublePrecisionSensiCube = SensiCube< double > |
Sensi cube with double precision floating point numbers. More... | |
using | SinglePrecisionSparseNpvCube = SparseNpvCube< float > |
using | RealPrecisionSparseNpvCube = SparseNpvCube< Real > |
using | TradePnlStore = HistoricalPnlGenerator::TradePnlStore |
using | TradePnLStore = std::vector< std::vector< QuantLib::Real > > |
typedef std::pair< RiskFactorKey, RiskFactorKey > | CrossPair |
template<typename T > | |
using | bm = boost::bimap< T, boost::bimaps::set_of< string, string_cmp > > |
using | crossPair = SensitivityCube::crossPair |
using | RFType = RiskFactorKey::KeyType |
using | ShiftData = SensitivityScenarioData::ShiftData |
using | RiskType = CrifRecord::RiskType |
typedef SimmConfiguration::Regulation | Regulation |
using | RC = SimmConfiguration::RiskClass |
using | RT = CrifRecord::RiskType |
using | IRFXConcentrationThresholds = SimmCalibration::RiskClassData::IRFXConcentrationThresholds |
Enumerations | |
enum class | AggregationScenarioDataType : unsigned int { IndexFixing = 0 , FXSpot = 1 , Numeraire = 2 , CreditState = 3 , SurvivalWeight = 4 , RecoveryRate = 5 , Generic = 6 } |
enum class | ShiftScheme { Forward , Backward , Central } |
enum class | ShiftType { Absolute , Relative } |
enum | IMScheduleLabel { Credit2 , Credit5 , Credit100 , Commodity , Equity , FX , Rates2 , Rates5 , Rates100 , Other } |
enum class | SimmVersion { V1_0 , V1_1 , V1_2 , V1_3 , V1_3_38 , V2_0 , V2_1 , V2_2 , V2_3 , V2_3_8 , V2_5 , V2_5A , V2_6 } |
Ordered SIMM versions. More... | |
Functions | |
CollateralExposureHelper::CalculationType | parseCollateralCalculationType (const string &s) |
Convert text representation to CollateralExposureHelper::CalculationType. More... | |
std::ostream & | operator<< (std::ostream &out, CollateralExposureHelper::CalculationType t) |
CreditMigrationHelper::CreditMode | parseCreditMode (const std::string &s) |
CreditMigrationHelper::LoanExposureMode | parseLoanExposureMode (const std::string &s) |
CreditMigrationHelper::Evaluation | parseEvaluation (const std::string &s) |
bool | lessThan (const Array &a, const Array &b) |
ExposureAllocator::AllocationMethod | parseAllocationMethod (const string &s) |
Convert text representation to ExposureAllocator::AllocationMethod. More... | |
std::ostream & | operator<< (std::ostream &out, ExposureAllocator::AllocationMethod m) |
Convert ExposureAllocator::AllocationMethod to text representation. More... | |
QuantLib::ext::shared_ptr< Loader > | implyBondSpreads (const Date &asof, const QuantLib::ext::shared_ptr< ore::analytics::InputParameters > ¶ms, const QuantLib::ext::shared_ptr< TodaysMarketParameters > &todaysMarketParams, const QuantLib::ext::shared_ptr< Loader > &loader, const QuantLib::ext::shared_ptr< CurveConfigurations > &curveConfigs, const std::string &excludeRegex) |
QuantLib::ext::shared_ptr< ore::data::Loader > | implyBondSpreads (const Date &asof, const QuantLib::ext::shared_ptr< InputParameters > ¶ms, const QuantLib::ext::shared_ptr< ore::data::TodaysMarketParameters > &todaysMarketParams, const QuantLib::ext::shared_ptr< ore::data::Loader > &loader, const QuantLib::ext::shared_ptr< ore::data::CurveConfigurations > &curveConfigs, const std::string &excludeRegex) |
std::map< RiskFactorKey, std::string > | getScenarioDescriptions (QuantLib::ext::shared_ptr< ScenarioGenerator > scenGen) |
std::map< std::string, Size > | checkReportNames (const ore::analytics::Analytic::analytic_reports &rpts) |
bool | endsWith (const std::string &name, const std::string &suffix) |
QuantLib::ext::shared_ptr< AnalyticsManager > | parseAnalytics (const std::string &s, const QuantLib::ext::shared_ptr< InputParameters > &inputs, const QuantLib::ext::shared_ptr< MarketDataLoader > &marketDataLoader) |
void | initBuilders (const bool registerOREAnalytics) |
vector< string > | getFileNames (const string &fileString, const std::filesystem::path &path) |
void | additional_fx_fixings (const string &fixingId, const RequiredFixings::FixingDates &fixingDates, FixingMap &relevantFixings) |
void | additional_commodity_fixings (const string &fixingId, const RequiredFixings::FixingDates &fixingDates, FixingMap &fixings, map< pair< string, Date >, set< Date > > &commodityMap) |
void | additional_equity_fixings (map< string, RequiredFixings::FixingDates > &fixings, const TodaysMarketParameters &mktParams, const QuantLib::ext::shared_ptr< ReferenceDataManager > refData, const QuantLib::ext::shared_ptr< CurveConfigurations > &curveConfigs) |
void | addNettingSetExposure (ore::data::Report &report, QuantLib::ext::shared_ptr< PostProcess > postProcess, const string &nettingSetId) |
template<class T > | |
void | addMapResults (boost::any resultMap, const std::string &tradeId, const std::string &resultName, Report &report) |
Real | aggregateTradeFlow (const std::string &tradeId, const Date &d0, const Date &d1, const ext::shared_ptr< InMemoryReport > &cashFlowReport, const ext::shared_ptr< ore::data::Market > &market, const std::string &baseCurrency) |
NPVCubeWithMetaData | loadCube (const std::string &filename, const bool doublePrecision) |
void | saveCube (const std::string &filename, const NPVCubeWithMetaData &cube, const bool doublePrecision) |
QuantLib::ext::shared_ptr< AggregationScenarioData > | loadAggregationScenarioData (const std::string &filename) |
void | saveAggregationScenarioData (const std::string &filename, const AggregationScenarioData &cube) |
std::ostream & | operator<< (std::ostream &out, const SensitivityCube::crossPair &cp) |
std::ostream & | operator<< (std::ostream &out, const ext::shared_ptr< MarketRiskGroupBase > &riskGroup) |
std::ostream & | operator<< (std::ostream &out, const ext::shared_ptr< TradeGroupBase > &tradeGroup) |
std::ostream & | operator<< (std::ostream &out, const QuantLib::ext::shared_ptr< MarketRiskGroupBase > &riskGroup) |
std::ostream & | operator<< (std::ostream &out, const QuantLib::ext::shared_ptr< TradeGroupBase > &tradeGroup) |
ostream & | operator<< (std::ostream &out, const NpvRecord &nr) |
Enable writing of a NpvRecord. More... | |
ParametricVarCalculator::ParametricVarParams::Method | parseParametricVarMethod (const string &s) |
ostream & | operator<< (ostream &out, const ParametricVarCalculator::ParametricVarParams::Method &method) |
void | writeParConversionMatrix (const ore::analytics::ParSensitivityAnalysis::ParContainer &parSensitivities, ore::data::Report &reportOut) |
Write par instrument sensitivity report. More... | |
Real | impliedQuote (const QuantLib::ext::shared_ptr< Instrument > &i) |
Volatility | impliedVolatility (const QuantLib::CapFloor &cap, Real targetValue, const Handle< YieldTermStructure > &d, Volatility guess, VolatilityType type, Real displacement) |
Volatility | impliedVolatility (const QuantLib::YoYInflationCapFloor &cap, Real targetValue, const Handle< YieldTermStructure > &d, Volatility guess, VolatilityType type, Real displacement, const Handle< YoYInflationIndex > &index) |
bool | riskFactorKeysAreSimilar (const ore::analytics::RiskFactorKey &x, const ore::analytics::RiskFactorKey &y) |
true if key type and name are equal, do not care about the index though More... | |
double | impliedVolatility (const RiskFactorKey &key, const ParSensitivityInstrumentBuilder::Instruments &instruments) |
Real | impliedQuote (const QuantLib::ext::shared_ptr< QuantLib::Instrument > &i) |
Computes the implied quote. More... | |
double | impliedVolatility (const QuantLib::CapFloor &cap, double targetValue, const QuantLib::Handle< QuantLib::YieldTermStructure > &d, double guess, QuantLib::VolatilityType type, double displacement) |
double | impliedVolatility (const QuantLib::YoYInflationCapFloor &cap, double targetValue, const QuantLib::Handle< QuantLib::YieldTermStructure > &d, double guess, QuantLib::VolatilityType type, double displacement, const QuantLib::Handle< QuantLib::YoYInflationIndex > &index={}) |
std::set< RiskFactorKey::KeyType > | disabledParRates (bool irCurveParRates, bool irCapFloorParRates, bool creditParRates) |
bool | checkCurveShiftData (const std::string &name, const StressTestScenarioData::CurveShiftData &stressShiftData, const std::map< std::string, QuantLib::ext::shared_ptr< SensitivityScenarioData::CurveShiftData > > &sensiData) |
Checks the the tenors for curves in a stresstest scenario are alligned with par sensitivity config. More... | |
bool | checkCapFloorShiftData (const std::string &name, const StressTestScenarioData::CapFloorVolShiftData &stressShiftData, const std::map< std::string, QuantLib::ext::shared_ptr< SensitivityScenarioData::CapFloorVolShiftData > > &sensiData) |
Checks the the strikes and expiries of cap floors in stresstest scenario are alligned with par sensitivity config. More... | |
void | populateResults (QuantLib::ext::shared_ptr< MarketRiskGroup > mrg, PnlExplainReport::PnlExplainResults &result, QuantLib::Real deltaPnl, QuantLib::Real gammaPnl, QuantLib::Real pnl) |
ostream & | operator<< (ostream &out, const MarketRiskConfiguration::RiskClass &rc) |
ostream & | operator<< (ostream &out, const MarketRiskConfiguration::RiskType &mt) |
MarketRiskConfiguration::RiskClass | parseVarRiskClass (const string &rc) |
MarketRiskConfiguration::RiskType | parseVarMarginType (const string &mt) |
MarketRiskConfiguration::RiskType | parseVarRiskType (const std::string &rt) |
Real | getShiftSize (const RiskFactorKey &key, const SensitivityScenarioData &sensiParams, const QuantLib::ext::shared_ptr< ScenarioSimMarket > &simMarket, const string &marketConfiguration) |
std::ostream & | operator<< (std::ostream &out, const SensitivityRecord &sr) |
Enable writing of a SensitivityRecord. More... | |
std::ostream & | operator<< (std::ostream &out, const AggregationScenarioDataType &t) |
std::ostream & | operator<< (std::ostream &out, const ReturnConfiguration::ReturnType t) |
QuantLib::ext::shared_ptr< HistoricalScenarioGenerator > | buildHistoricalScenarioGenerator (const QuantLib::ext::shared_ptr< HistoricalScenarioReader > &hsr, const QuantLib::ext::shared_ptr< ore::data::AdjustmentFactors > &adjFactors, const TimePeriod &period, Calendar calendar, Size mporDays, const QuantLib::ext::shared_ptr< ScenarioSimMarketParameters > &simParams, const QuantLib::ext::shared_ptr< TodaysMarketParameters > &marketParams, const bool overlapping) |
QuantLib::ext::shared_ptr< HistoricalScenarioGenerator > | buildHistoricalScenarioGenerator (const QuantLib::ext::shared_ptr< HistoricalScenarioReader > &hsr, const QuantLib::ext::shared_ptr< ore::data::AdjustmentFactors > &adjFactors, const std::set< QuantLib::Date > &dates, const QuantLib::ext::shared_ptr< ScenarioSimMarketParameters > &simParams, const QuantLib::ext::shared_ptr< TodaysMarketParameters > &marketParams) |
std::size_t | hash_value (const RiskFactorKey &k) |
std::ostream & | operator<< (std::ostream &out, const RiskFactorKey::KeyType &type) |
std::ostream & | operator<< (std::ostream &out, const RiskFactorKey &key) |
RiskFactorKey::KeyType | parseRiskFactorKeyType (const string &str) |
RiskFactorKey | parseRiskFactorKey (const string &str) |
ShiftScheme | parseShiftScheme (const std::string &s) |
std::ostream & | operator<< (std::ostream &out, const ShiftScheme &shiftScheme) |
ShiftType | parseShiftType (const std::string &s) |
std::ostream & | operator<< (std::ostream &out, const ShiftType &shiftType) |
bool | operator< (const RiskFactorKey &lhs, const RiskFactorKey &rhs) |
bool | operator== (const RiskFactorKey &lhs, const RiskFactorKey &rhs) |
bool | operator> (const RiskFactorKey &lhs, const RiskFactorKey &rhs) |
bool | operator<= (const RiskFactorKey &lhs, const RiskFactorKey &rhs) |
bool | operator>= (const RiskFactorKey &lhs, const RiskFactorKey &rhs) |
bool | operator!= (const RiskFactorKey &lhs, const RiskFactorKey &rhs) |
RiskFactorKey::KeyType | yieldCurveRiskFactor (const ore::data::YieldCurveType y) |
Map a yield curve type to a risk factor key type. More... | |
ore::data::YieldCurveType | riskFactorYieldCurve (const RiskFactorKey::KeyType rf) |
Real | getDifferenceScenario (const RiskFactorKey::KeyType keyType, const Real v1, const Real v2) |
Real | addDifferenceToScenario (const RiskFactorKey::KeyType keyType, const Real v, const Real d) |
QuantLib::ext::shared_ptr< Scenario > | getDifferenceScenario (const QuantLib::ext::shared_ptr< Scenario > &s1, const QuantLib::ext::shared_ptr< Scenario > &s2, const Date &targetScenarioAsOf, const Real targetScenarioNumeraire) |
QuantLib::ext::shared_ptr< Scenario > | addDifferenceToScenario (const QuantLib::ext::shared_ptr< Scenario > &s, const QuantLib::ext::shared_ptr< Scenario > &d, const Date &targetScenarioAsOf, const Real targetScenarioNumeraire) |
QuantLib::ext::shared_ptr< Scenario > | recastScenario (const QuantLib::ext::shared_ptr< Scenario > &scenario, const std::map< std::pair< RiskFactorKey::KeyType, std::string >, std::vector< std::vector< Real > > > &oldCoordinates, const std::map< std::pair< RiskFactorKey::KeyType, std::string >, std::vector< std::vector< Real > > > &newCoordinates) |
QuantLib::ext::shared_ptr< Scenario > | recastScenario (const QuantLib::ext::shared_ptr< Scenario > &scenario, const std::map< std::pair< RiskFactorKey::KeyType, std::string >, std::vector< std::vector< Real > > > &oldCoordinates, const std::set< std::tuple< RiskFactorKey::KeyType, std::string, std::vector< std::vector< Real > > > > &newCoordinates) |
std::set< std::string > | getShiftSpecKeys (const SensitivityScenarioData &d) |
bool | close (const Real &t_1, const Real &t_2) |
bool | vectorEqual (const vector< Real > &v_1, const vector< Real > &v_2) |
ostream & | operator<< (ostream &out, const ShiftScenarioGenerator::ScenarioDescription &scenarioDescription) |
pair< RiskFactorKey, string > | deconstructFactor (const string &factor) |
string | reconstructFactor (const RiskFactorKey &key, const std::string &desc) |
Reconstruct the string description from a risk factor key and its index description desc . More... | |
QuantLib::ext::shared_ptr< RiskFactorKey > | parseRiskFactorKey (const std::string &str, std::vector< std::string > &addTokens) |
risk factor key parser that takes into account additional tokens occurring in sensitivity risk factor keys More... | |
bool | operator< (const ShiftScenarioGenerator::ScenarioDescription &lhs, const ShiftScenarioGenerator::ScenarioDescription &rhs) |
bool | operator== (const ShiftScenarioGenerator::ScenarioDescription &lhs, const ShiftScenarioGenerator::ScenarioDescription &rhs) |
void | curveShiftDataToXml (ore::data::XMLDocument &doc, XMLNode *node, const std::map< std::string, StressTestScenarioData::CurveShiftData > &data, const std::string &identifier, const std::string &nodeName, const std::string &parentNodeName=std::string()) |
void | volShiftDataToXml (ore::data::XMLDocument &doc, XMLNode *node, const std::map< std::string, StressTestScenarioData::VolShiftData > &data, const std::string &identifier, const std::string &nodeName, const std::string &parentNodeName) |
void | spotShiftDataToXml (ore::data::XMLDocument &doc, XMLNode *node, const std::map< std::string, StressTestScenarioData::SpotShiftData > &data, const std::string &identifier, const std::string &nodeName) |
string | periodToLabels2 (const QuantLib::Period &p) |
ostream & | operator<< (ostream &out, const CrifRecord::RiskType &rt) |
ostream & | operator<< (ostream &out, const CrifRecord::ProductClass &pc) |
CrifRecord::RiskType | parseRiskType (const string &rt) |
CrifRecord::ProductClass | parseProductClass (const string &pc) |
std::ostream & | operator<< (std::ostream &out, const CrifRecord::CurvatureScenario &scenario) |
CrifRecord::CurvatureScenario | parseFrtbCurvatureScenario (const std::string &scenario) |
ostream & | operator<< (std::ostream &out, const CrifRecord &cr) |
Enable writing of a CrifRecord. More... | |
bool | operator< (const SimmBucketMapper::FailedMapping &a, const SimmBucketMapper::FailedMapping &b) |
bool | operator< (const BucketMapping &a, const BucketMapping &b) |
ostream & | operator<< (ostream &out, const SimmConfiguration::SimmSide &s) |
ostream & | operator<< (ostream &out, const SimmConfiguration::RiskClass &rc) |
ostream & | operator<< (ostream &out, const SimmConfiguration::MarginType &mt) |
ostream & | operator<< (ostream &out, const SimmConfiguration::IMModel &model) |
ostream & | operator<< (ostream &out, const SimmConfiguration::Regulation ®ulation) |
SimmConfiguration::SimmSide | parseSimmSide (const string &side) |
SimmConfiguration::RiskClass | parseSimmRiskClass (const string &rc) |
SimmConfiguration::MarginType | parseSimmMarginType (const string &mt) |
SimmConfiguration::IMModel | parseIMModel (const string &model) |
SimmConfiguration::Regulation | parseRegulation (const string ®ulation) |
string | combineRegulations (const string ®s1, const string ®s2) |
set< string > | parseRegulationString (const std::string ®sString, const std::set< std::string > &valueIfEmpty={"Unspecified"}) |
Reads a string containing regulations applicable for a given CRIF record. More... | |
string | sortRegulationString (const string ®sString) |
string | removeRegulations (const std::string ®sString, const std::vector< std::string > ®sToRemove) |
Removes a given vector of regulations from a string of regulations and returns a string with the regulations removed. More... | |
string | filterRegulations (const string ®sString, const vector< string > ®sToFilter) |
SimmConfiguration::Regulation | getWinningRegulation (const std::vector< std::string > &winningRegulations) |
From a vector of regulations, determine the winning regulation based on order of priority. More... | |
ostream & | operator<< (std::ostream &out, const SimmResults::Key &resultsKey) |
Enable writing of Key. More... | |
std::vector< std::string > | loadFactorList (const std::string &inputFileName, const char delim) |
std::vector< std::vector< double > > | loadScenarios (const std::string &inputFileName, const char delim) |
Matrix | loadCovarianceMatrix (const std::string &inputFileName, const char delim) |
SimmVersion | parseSimmVersion (const string &version) |
QuantLib::ext::shared_ptr< SimmConfiguration > | buildSimmConfiguration (const string &simmVersion, const QuantLib::ext::shared_ptr< SimmBucketMapper > &simmBucketMapper, const QuantLib::ext::shared_ptr< SimmCalibrationData > &simmCalibrationData, const Size &mporDays) |
std::string | escapeCommaSeparatedList (const std::string &str, const char &csvQuoteChar) |
QuantLib::ext::shared_ptr< SimmConfiguration > | buildSimmConfiguration (const std::string &simmVersion, const QuantLib::ext::shared_ptr< SimmBucketMapper > &simmBucketMapper, const QuantLib::ext::shared_ptr< SimmCalibrationData > &simmCalibrationData=nullptr, const QuantExt::Size &mporDays=10) |
Date | nextValidFixingDate (Date d, const QuantLib::ext::shared_ptr< Index > &index, Size gap=7) |
Variables | |
const bm< MarketRiskConfiguration::RiskClass > | riskClassMap |
const bm< MarketRiskConfiguration::RiskType > | riskTypeMap |
auto | isSimmParameter = [](const ore::analytics::CrifRecord& x) { return x.isSimmParameter(); } |
auto | isNotSimmParameter = std::not_fn(isSimmParameter) |
const bm< CrifRecord::ProductClass > | productClassMap |
const map< RiskType, RiskType > | nonVolRiskTypeMap |
const bm< SimmConfiguration::MarginType > | marginTypeMap |
const bm< SimmConfiguration::IMModel > | imModelMap |
const bm< SimmConfiguration::Regulation > | regulationsMap |
Analytics namespace
typedef std::map<QuantLib::Date, std::set<std::string> > QuoteMap |
Definition at line 32 of file marketdataloader.hpp.
typedef std::map<std::string, RequiredFixings::FixingDates> FixingMap |
Definition at line 33 of file marketdataloader.hpp.
typedef std::map<Currency, Matrix, CurrencyComparator> result_type_matrix |
Definition at line 76 of file reportwriter.cpp.
typedef std::map<Currency, std::vector<Real>, CurrencyComparator> result_type_vector |
Definition at line 77 of file reportwriter.cpp.
typedef std::map<Currency, Real, CurrencyComparator> result_type_scalar |
Definition at line 78 of file reportwriter.cpp.
typedef CrifRecord::ProductClass ProductClass |
Definition at line 1565 of file reportwriter.cpp.
Definition at line 1566 of file reportwriter.cpp.
Definition at line 1567 of file reportwriter.cpp.
typedef SimmConfiguration::SimmSide SimmSide |
Definition at line 1568 of file reportwriter.cpp.
Definition at line 2209 of file reportwriter.cpp.
using SinglePrecisionInMemoryCube = InMemoryCube1<float> |
InMemoryCube of depth 1 with single precision floating point numbers.
Definition at line 184 of file inmemorycube.hpp.
using DoublePrecisionInMemoryCube = InMemoryCube1<double> |
InMemoryCube of depth 1 with double precision floating point numbers.
Definition at line 187 of file inmemorycube.hpp.
using SinglePrecisionInMemoryCubeN = InMemoryCubeN<float> |
InMemoryCube of depth N with single precision floating point numbers.
Definition at line 190 of file inmemorycube.hpp.
using DoublePrecisionInMemoryCubeN = InMemoryCubeN<double> |
InMemoryCube of depth N with double precision floating point numbers.
Definition at line 193 of file inmemorycube.hpp.
using SinglePrecisionJaggedCube = JaggedCube<float> |
Jagged cube with single precision floating point numbers.
Definition at line 269 of file jaggedcube.hpp.
using DoublePrecisionJaggedCube = JaggedCube<double> |
Jagged cube with double precision floating point numbers.
Definition at line 272 of file jaggedcube.hpp.
using SinglePrecisionSensiCube = SensiCube<float> |
Sensi cube with single precision floating point numbers.
Definition at line 137 of file sensicube.hpp.
using DoublePrecisionSensiCube = SensiCube<double> |
Sensi cube with double precision floating point numbers.
Definition at line 140 of file sensicube.hpp.
using SinglePrecisionSparseNpvCube = SparseNpvCube<float> |
Definition at line 65 of file sparsenpvcube.hpp.
using RealPrecisionSparseNpvCube = SparseNpvCube<Real> |
Definition at line 66 of file sparsenpvcube.hpp.
Definition at line 169 of file historicalpnlgenerator.cpp.
using TradePnLStore = std::vector<std::vector<QuantLib::Real> > |
Definition at line 38 of file marketriskreport.hpp.
typedef std::pair<RiskFactorKey, RiskFactorKey> CrossPair |
Definition at line 49 of file parametricvar.hpp.
using bm = boost::bimap<T, boost::bimaps::set_of<string, string_cmp> > |
Definition at line 42 of file riskfilter.cpp.
using crossPair = SensitivityCube::crossPair |
Definition at line 31 of file sensitivitycubestream.cpp.
typedef RiskFactorKey::KeyType RFType |
Definition at line 41 of file scenarioshiftcalculator.cpp.
Definition at line 42 of file scenarioshiftcalculator.cpp.
typedef CrifRecord::RiskType RiskType |
Definition at line 92 of file crifloader.cpp.
Definition at line 62 of file simmcalculator.cpp.
using RC = SimmConfiguration::RiskClass |
Definition at line 55 of file simmcalibration.cpp.
using RT = CrifRecord::RiskType |
Definition at line 56 of file simmcalibration.cpp.
Definition at line 37 of file simmconcentration.cpp.
|
strong |
Enumerator | |
---|---|
IndexFixing | |
FXSpot | |
Numeraire | |
CreditState | |
SurvivalWeight | |
RecoveryRate | |
Generic |
Definition at line 42 of file aggregationscenariodata.hpp.
|
strong |
Enumerator | |
---|---|
Forward | |
Backward | |
Central |
Definition at line 189 of file scenario.hpp.
|
strong |
enum IMScheduleLabel |
Enumerator | |
---|---|
Credit2 | |
Credit5 | |
Credit100 | |
Commodity | |
Equity | |
FX | |
Rates2 | |
Rates5 | |
Rates100 | |
Other |
Definition at line 34 of file imscheduleresults.hpp.
|
strong |
Ordered SIMM versions.
Enumerator | |
---|---|
V1_0 | |
V1_1 | |
V1_2 | |
V1_3 | |
V1_3_38 | |
V2_0 | |
V2_1 | |
V2_2 | |
V2_3 | |
V2_3_8 | |
V2_5 | |
V2_5A | |
V2_6 |
Definition at line 43 of file utilities.hpp.
CollateralExposureHelper::CalculationType parseCollateralCalculationType | ( | const string & | s | ) |
Convert text representation to CollateralExposureHelper::CalculationType.
Definition at line 31 of file collatexposurehelper.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
CollateralExposureHelper::CalculationType | t | ||
) |
Definition at line 46 of file collatexposurehelper.cpp.
CreditMigrationHelper::CreditMode parseCreditMode | ( | const std::string & | s | ) |
Definition at line 634 of file creditmigrationhelper.cpp.
CreditMigrationHelper::LoanExposureMode parseLoanExposureMode | ( | const std::string & | s | ) |
Definition at line 647 of file creditmigrationhelper.cpp.
CreditMigrationHelper::Evaluation parseEvaluation | ( | const std::string & | s | ) |
Definition at line 660 of file creditmigrationhelper.cpp.
bool lessThan | ( | const Array & | a, |
const Array & | b | ||
) |
Definition at line 99 of file dimregressioncalculator.hpp.
ExposureAllocator::AllocationMethod parseAllocationMethod | ( | const string & | s | ) |
Convert text representation to ExposureAllocator::AllocationMethod.
Definition at line 199 of file exposureallocator.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
ExposureAllocator::AllocationMethod | m | ||
) |
Convert ExposureAllocator::AllocationMethod to text representation.
Definition at line 216 of file exposureallocator.cpp.
QuantLib::ext::shared_ptr< Loader > implyBondSpreads | ( | const Date & | asof, |
const QuantLib::ext::shared_ptr< ore::analytics::InputParameters > & | params, | ||
const QuantLib::ext::shared_ptr< TodaysMarketParameters > & | todaysMarketParams, | ||
const QuantLib::ext::shared_ptr< Loader > & | loader, | ||
const QuantLib::ext::shared_ptr< CurveConfigurations > & | curveConfigs, | ||
const std::string & | excludeRegex | ||
) |
Definition at line 273 of file analytic.cpp.
QuantLib::ext::shared_ptr< ore::data::Loader > implyBondSpreads | ( | const Date & | asof, |
const QuantLib::ext::shared_ptr< InputParameters > & | params, | ||
const QuantLib::ext::shared_ptr< ore::data::TodaysMarketParameters > & | todaysMarketParams, | ||
const QuantLib::ext::shared_ptr< ore::data::Loader > & | loader, | ||
const QuantLib::ext::shared_ptr< ore::data::CurveConfigurations > & | curveConfigs, | ||
const std::string & | excludeRegex | ||
) |
std::map< RiskFactorKey, std::string > getScenarioDescriptions | ( | QuantLib::ext::shared_ptr< ScenarioGenerator > | scenGen | ) |
Definition at line 35 of file parconversionanalytic.cpp.
std::map< std::string, Size > checkReportNames | ( | const ore::analytics::Analytic::analytic_reports & | rpts | ) |
Definition at line 221 of file analyticsmanager.cpp.
bool endsWith | ( | const std::string & | name, |
const std::string & | suffix | ||
) |
Definition at line 239 of file analyticsmanager.cpp.
QuantLib::ext::shared_ptr< AnalyticsManager > parseAnalytics | ( | const std::string & | s, |
const QuantLib::ext::shared_ptr< InputParameters > & | inputs, | ||
const QuantLib::ext::shared_ptr< MarketDataLoader > & | marketDataLoader | ||
) |
void initBuilders | ( | const bool | registerOREAnalytics | ) |
Definition at line 48 of file initbuilders.cpp.
std::vector< std::string > getFileNames | ( | const string & | fileString, |
const std::filesystem::path & | path | ||
) |
Definition at line 37 of file inputparameters.cpp.
void additional_fx_fixings | ( | const string & | fixingId, |
const RequiredFixings::FixingDates & | fixingDates, | ||
FixingMap & | relevantFixings | ||
) |
Definition at line 34 of file marketdataloader.cpp.
void additional_commodity_fixings | ( | const string & | fixingId, |
const RequiredFixings::FixingDates & | fixingDates, | ||
FixingMap & | fixings, | ||
map< pair< string, Date >, set< Date > > & | commodityMap | ||
) |
Definition at line 72 of file marketdataloader.cpp.
void additional_equity_fixings | ( | map< string, RequiredFixings::FixingDates > & | fixings, |
const TodaysMarketParameters & | mktParams, | ||
const QuantLib::ext::shared_ptr< ReferenceDataManager > | refData, | ||
const QuantLib::ext::shared_ptr< CurveConfigurations > & | curveConfigs | ||
) |
Definition at line 123 of file marketdataloader.cpp.
void addNettingSetExposure | ( | ore::data::Report & | report, |
QuantLib::ext::shared_ptr< PostProcess > | postProcess, | ||
const string & | nettingSetId | ||
) |
Definition at line 869 of file reportwriter.cpp.
void addMapResults | ( | boost::any | resultMap, |
const std::string & | tradeId, | ||
const std::string & | resultName, | ||
Report & | report | ||
) |
Definition at line 1253 of file reportwriter.cpp.
Real aggregateTradeFlow | ( | const std::string & | tradeId, |
const Date & | d0, | ||
const Date & | d1, | ||
const ext::shared_ptr< InMemoryReport > & | cashFlowReport, | ||
const ext::shared_ptr< ore::data::Market > & | market, | ||
const std::string & | baseCurrency | ||
) |
Definition at line 2400 of file reportwriter.cpp.
NPVCubeWithMetaData loadCube | ( | const std::string & | filename, |
const bool | doublePrecision | ||
) |
Definition at line 63 of file cube_io.cpp.
void saveCube | ( | const std::string & | filename, |
const NPVCubeWithMetaData & | cube, | ||
const bool | doublePrecision | ||
) |
Definition at line 167 of file cube_io.cpp.
QuantLib::ext::shared_ptr< AggregationScenarioData > loadAggregationScenarioData | ( | const std::string & | filename | ) |
Definition at line 234 of file cube_io.cpp.
void saveAggregationScenarioData | ( | const std::string & | filename, |
const AggregationScenarioData & | cube | ||
) |
Definition at line 302 of file cube_io.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
const SensitivityCube::crossPair & | cp | ||
) |
Definition at line 55 of file sensitivitycube.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
const ext::shared_ptr< MarketRiskGroupBase > & | riskGroup | ||
) |
Definition at line 38 of file marketriskreport.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
const ext::shared_ptr< TradeGroupBase > & | tradeGroup | ||
) |
Definition at line 42 of file marketriskreport.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
const QuantLib::ext::shared_ptr< MarketRiskGroupBase > & | riskGroup | ||
) |
std::ostream & operator<< | ( | std::ostream & | out, |
const QuantLib::ext::shared_ptr< TradeGroupBase > & | tradeGroup | ||
) |
std::ostream & operator<< | ( | ostream & | out, |
const NpvRecord & | nr | ||
) |
Enable writing of a NpvRecord.
Definition at line 28 of file npvrecord.cpp.
ParametricVarCalculator::ParametricVarParams::Method parseParametricVarMethod | ( | const string & | s | ) |
Definition at line 45 of file parametricvar.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const ParametricVarCalculator::ParametricVarParams::Method & | method | ||
) |
Definition at line 61 of file parametricvar.cpp.
void writeParConversionMatrix | ( | const ParSensitivityAnalysis::ParContainer & | parSensitivities, |
Report & | report | ||
) |
Write par instrument sensitivity report.
Definition at line 835 of file parsensitivityanalysis.cpp.
Real impliedQuote | ( | const QuantLib::ext::shared_ptr< Instrument > & | i | ) |
Definition at line 240 of file parsensitivityutilities.cpp.
Volatility impliedVolatility | ( | const QuantLib::CapFloor & | cap, |
Real | targetValue, | ||
const Handle< YieldTermStructure > & | d, | ||
Volatility | guess, | ||
VolatilityType | type, | ||
Real | displacement | ||
) |
Definition at line 275 of file parsensitivityutilities.cpp.
Volatility impliedVolatility | ( | const QuantLib::YoYInflationCapFloor & | cap, |
Real | targetValue, | ||
const Handle< YieldTermStructure > & | d, | ||
Volatility | guess, | ||
VolatilityType | type, | ||
Real | displacement, | ||
const Handle< YoYInflationIndex > & | index | ||
) |
Definition at line 280 of file parsensitivityutilities.cpp.
bool riskFactorKeysAreSimilar | ( | const ore::analytics::RiskFactorKey & | x, |
const ore::analytics::RiskFactorKey & | y | ||
) |
true if key type and name are equal, do not care about the index though
Definition at line 286 of file parsensitivityutilities.cpp.
double impliedVolatility | ( | const RiskFactorKey & | key, |
const ParSensitivityInstrumentBuilder::Instruments & | instruments | ||
) |
Definition at line 290 of file parsensitivityutilities.cpp.
Real impliedQuote | ( | const QuantLib::ext::shared_ptr< QuantLib::Instrument > & | i | ) |
Computes the implied quote.
double impliedVolatility | ( | const QuantLib::CapFloor & | cap, |
double | targetValue, | ||
const QuantLib::Handle< QuantLib::YieldTermStructure > & | d, | ||
double | guess, | ||
QuantLib::VolatilityType | type, | ||
double | displacement | ||
) |
double impliedVolatility | ( | const QuantLib::YoYInflationCapFloor & | cap, |
double | targetValue, | ||
const QuantLib::Handle< QuantLib::YieldTermStructure > & | d, | ||
double | guess, | ||
QuantLib::VolatilityType | type, | ||
double | displacement, | ||
const QuantLib::Handle< QuantLib::YoYInflationIndex > & | index = {} |
||
) |
std::set< RiskFactorKey::KeyType > disabledParRates | ( | bool | irCurveParRates, |
bool | irCapFloorParRates, | ||
bool | creditParRates | ||
) |
Definition at line 139 of file parstressscenarioconverter.cpp.
bool checkCurveShiftData | ( | const std::string & | name, |
const StressTestScenarioData::CurveShiftData & | stressShiftData, | ||
const std::map< std::string, QuantLib::ext::shared_ptr< SensitivityScenarioData::CurveShiftData > > & | sensiData | ||
) |
Checks the the tenors for curves in a stresstest scenario are alligned with par sensitivity config.
Definition at line 156 of file parstressscenarioconverter.cpp.
bool checkCapFloorShiftData | ( | const std::string & | name, |
const StressTestScenarioData::CapFloorVolShiftData & | stressShiftData, | ||
const std::map< std::string, QuantLib::ext::shared_ptr< SensitivityScenarioData::CapFloorVolShiftData > > & | sensiData | ||
) |
Checks the the strikes and expiries of cap floors in stresstest scenario are alligned with par sensitivity config.
Definition at line 200 of file parstressscenarioconverter.cpp.
void populateResults | ( | QuantLib::ext::shared_ptr< MarketRiskGroup > | mrg, |
PnlExplainReport::PnlExplainResults & | result, | ||
QuantLib::Real | deltaPnl, | ||
QuantLib::Real | gammaPnl, | ||
QuantLib::Real | pnl | ||
) |
Definition at line 26 of file pnlexplainreport.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const MarketRiskConfiguration::RiskClass & | rc | ||
) |
Definition at line 58 of file riskfilter.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const MarketRiskConfiguration::RiskType & | mt | ||
) |
Definition at line 64 of file riskfilter.cpp.
MarketRiskConfiguration::RiskClass parseVarRiskClass | ( | const string & | rc | ) |
Definition at line 70 of file riskfilter.cpp.
MarketRiskConfiguration::RiskType parseVarMarginType | ( | const string & | mt | ) |
Definition at line 76 of file riskfilter.cpp.
MarketRiskConfiguration::RiskType parseVarRiskType | ( | const std::string & | rt | ) |
Real getShiftSize | ( | const RiskFactorKey & | key, |
const SensitivityScenarioData & | sensiParams, | ||
const QuantLib::ext::shared_ptr< ScenarioSimMarket > & | simMarket, | ||
const std::string & | marketConfiguration = "" |
||
) |
Returns the absolute shift size corresponding to a particular risk factor key
given sensitivity parameters sensiParams
and a simulation market simMarket
Definition at line 278 of file sensitivityanalysis.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const SensitivityRecord & | sr | ||
) |
Enable writing of a SensitivityRecord.
Definition at line 65 of file sensitivityrecord.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
const AggregationScenarioDataType & | t | ||
) |
Definition at line 156 of file aggregationscenariodata.hpp.
std::ostream & operator<< | ( | std::ostream & | out, |
const ReturnConfiguration::ReturnType | t | ||
) |
Definition at line 145 of file historicalscenariogenerator.cpp.
QuantLib::ext::shared_ptr< HistoricalScenarioGenerator > buildHistoricalScenarioGenerator | ( | const QuantLib::ext::shared_ptr< HistoricalScenarioReader > & | hsr, |
const QuantLib::ext::shared_ptr< ore::data::AdjustmentFactors > & | adjFactors, | ||
const TimePeriod & | period, | ||
Calendar | calendar, | ||
Size | mporDays, | ||
const QuantLib::ext::shared_ptr< ScenarioSimMarketParameters > & | simParams, | ||
const QuantLib::ext::shared_ptr< TodaysMarketParameters > & | marketParams, | ||
const bool | overlapping | ||
) |
Definition at line 505 of file historicalscenariogenerator.cpp.
QuantLib::ext::shared_ptr< HistoricalScenarioGenerator > buildHistoricalScenarioGenerator | ( | const QuantLib::ext::shared_ptr< HistoricalScenarioReader > & | hsr, |
const QuantLib::ext::shared_ptr< ore::data::AdjustmentFactors > & | adjFactors, | ||
const std::set< QuantLib::Date > & | dates, | ||
const QuantLib::ext::shared_ptr< ScenarioSimMarketParameters > & | simParams, | ||
const QuantLib::ext::shared_ptr< TodaysMarketParameters > & | marketParams | ||
) |
Definition at line 524 of file historicalscenariogenerator.cpp.
std::size_t hash_value | ( | const RiskFactorKey & | k | ) |
Definition at line 30 of file scenario.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
const RiskFactorKey::KeyType & | type | ||
) |
Definition at line 45 of file scenario.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
const RiskFactorKey & | key | ||
) |
Definition at line 106 of file scenario.cpp.
RiskFactorKey::KeyType parseRiskFactorKeyType | ( | const string & | str | ) |
Definition at line 128 of file scenario.cpp.
RiskFactorKey parseRiskFactorKey | ( | const string & | str | ) |
Definition at line 183 of file scenario.cpp.
ShiftScheme parseShiftScheme | ( | const std::string & | s | ) |
Definition at line 193 of file scenario.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
const ShiftScheme & | shiftScheme | ||
) |
Definition at line 205 of file scenario.cpp.
ShiftType parseShiftType | ( | const std::string & | s | ) |
Definition at line 216 of file scenario.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
const ShiftType & | shiftType | ||
) |
Definition at line 228 of file scenario.cpp.
bool operator< | ( | const RiskFactorKey & | lhs, |
const RiskFactorKey & | rhs | ||
) |
bool operator== | ( | const RiskFactorKey & | lhs, |
const RiskFactorKey & | rhs | ||
) |
bool operator> | ( | const RiskFactorKey & | lhs, |
const RiskFactorKey & | rhs | ||
) |
Definition at line 117 of file scenario.hpp.
bool operator<= | ( | const RiskFactorKey & | lhs, |
const RiskFactorKey & | rhs | ||
) |
Definition at line 118 of file scenario.hpp.
bool operator>= | ( | const RiskFactorKey & | lhs, |
const RiskFactorKey & | rhs | ||
) |
Definition at line 119 of file scenario.hpp.
bool operator!= | ( | const RiskFactorKey & | lhs, |
const RiskFactorKey & | rhs | ||
) |
Definition at line 120 of file scenario.hpp.
RiskFactorKey::KeyType yieldCurveRiskFactor | ( | const ore::data::YieldCurveType | y | ) |
Map a yield curve type to a risk factor key type.
Definition at line 151 of file scenariosimmarket.cpp.
ore::data::YieldCurveType riskFactorYieldCurve | ( | const RiskFactorKey::KeyType | rf | ) |
Definition at line 164 of file scenariosimmarket.cpp.
Real getDifferenceScenario | ( | const RiskFactorKey::KeyType | keyType, |
const Real | v1, | ||
const Real | v2 | ||
) |
Definition at line 28 of file scenarioutilities.cpp.
Real addDifferenceToScenario | ( | const RiskFactorKey::KeyType | keyType, |
const Real | v, | ||
const Real | d | ||
) |
Definition at line 68 of file scenarioutilities.cpp.
QuantLib::ext::shared_ptr< Scenario > getDifferenceScenario | ( | const QuantLib::ext::shared_ptr< Scenario > & | s1, |
const QuantLib::ext::shared_ptr< Scenario > & | s2, | ||
const Date & | targetScenarioAsOf, | ||
const Real | targetScenarioNumeraire | ||
) |
Definition at line 108 of file scenarioutilities.cpp.
QuantLib::ext::shared_ptr< Scenario > addDifferenceToScenario | ( | const QuantLib::ext::shared_ptr< Scenario > & | s, |
const QuantLib::ext::shared_ptr< Scenario > & | d, | ||
const Date & | targetScenarioAsOf, | ||
const Real | targetScenarioNumeraire | ||
) |
Definition at line 141 of file scenarioutilities.cpp.
QuantLib::ext::shared_ptr< Scenario > recastScenario | ( | const QuantLib::ext::shared_ptr< Scenario > & | scenario, |
const std::map< std::pair< RiskFactorKey::KeyType, std::string >, std::vector< std::vector< Real > > > & | oldCoordinates, | ||
const std::map< std::pair< RiskFactorKey::KeyType, std::string >, std::vector< std::vector< Real > > > & | newCoordinates | ||
) |
Definition at line 227 of file scenarioutilities.cpp.
QuantLib::ext::shared_ptr< Scenario > recastScenario | ( | const QuantLib::ext::shared_ptr< Scenario > & | scenario, |
const std::map< std::pair< RiskFactorKey::KeyType, std::string >, std::vector< std::vector< Real > > > & | oldCoordinates, | ||
const std::set< std::tuple< RiskFactorKey::KeyType, std::string, std::vector< std::vector< Real > > > > & | newCoordinates | ||
) |
Definition at line 294 of file scenarioutilities.cpp.
std::set< std::string > getShiftSpecKeys | ( | const SensitivityScenarioData & | d | ) |
Definition at line 1077 of file sensitivityscenariodata.cpp.
bool close | ( | const Real & | t_1, |
const Real & | t_2 | ||
) |
Definition at line 79 of file sensitivityscenariogenerator.cpp.
bool vectorEqual | ( | const vector< Real > & | v_1, |
const vector< Real > & | v_2 | ||
) |
Definition at line 81 of file sensitivityscenariogenerator.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const ShiftScenarioGenerator::ScenarioDescription & | scenarioDescription | ||
) |
Definition at line 145 of file shiftscenariogenerator.cpp.
std::pair< RiskFactorKey, std::string > deconstructFactor | ( | const std::string & | factor | ) |
Retrieve the RiskFactorKey and index description from the result of ScenarioDescription::factor1() or ScenarioDescription::factor2()
Definition at line 154 of file shiftscenariogenerator.cpp.
std::string reconstructFactor | ( | const RiskFactorKey & | key, |
const string & | desc | ||
) |
Reconstruct the string description from a risk factor key
and its index description desc
.
Definition at line 180 of file shiftscenariogenerator.cpp.
QuantLib::ext::shared_ptr< RiskFactorKey > parseRiskFactorKey | ( | const string & | str, |
vector< string > & | addTokens | ||
) |
risk factor key parser that takes into account additional tokens occurring in sensitivity risk factor keys
Definition at line 190 of file shiftscenariogenerator.cpp.
bool operator< | ( | const ShiftScenarioGenerator::ScenarioDescription & | lhs, |
const ShiftScenarioGenerator::ScenarioDescription & | rhs | ||
) |
Definition at line 207 of file shiftscenariogenerator.hpp.
bool operator== | ( | const ShiftScenarioGenerator::ScenarioDescription & | lhs, |
const ShiftScenarioGenerator::ScenarioDescription & | rhs | ||
) |
Definition at line 212 of file shiftscenariogenerator.hpp.
void curveShiftDataToXml | ( | ore::data::XMLDocument & | doc, |
XMLNode * | node, | ||
const std::map< std::string, StressTestScenarioData::CurveShiftData > & | data, | ||
const std::string & | identifier, | ||
const std::string & | nodeName, | ||
const std::string & | parentNodeName = std::string() |
||
) |
Definition at line 295 of file stressscenariodata.cpp.
void volShiftDataToXml | ( | ore::data::XMLDocument & | doc, |
XMLNode * | node, | ||
const std::map< std::string, StressTestScenarioData::VolShiftData > & | data, | ||
const std::string & | identifier, | ||
const std::string & | nodeName, | ||
const std::string & | parentNodeName | ||
) |
Definition at line 310 of file stressscenariodata.cpp.
void spotShiftDataToXml | ( | ore::data::XMLDocument & | doc, |
XMLNode * | node, | ||
const std::map< std::string, StressTestScenarioData::SpotShiftData > & | data, | ||
const std::string & | identifier, | ||
const std::string & | nodeName | ||
) |
Definition at line 323 of file stressscenariodata.cpp.
string periodToLabels2 | ( | const QuantLib::Period & | p | ) |
Definition at line 30 of file crifconfiguration.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const CrifRecord::RiskType & | rt | ||
) |
Definition at line 104 of file crifrecord.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const CrifRecord::ProductClass & | pc | ||
) |
Definition at line 110 of file crifrecord.cpp.
CrifRecord::RiskType parseRiskType | ( | const string & | rt | ) |
Definition at line 117 of file crifrecord.cpp.
CrifRecord::ProductClass parseProductClass | ( | const string & | pc | ) |
Definition at line 127 of file crifrecord.cpp.
std::ostream & operator<< | ( | std::ostream & | out, |
const CrifRecord::CurvatureScenario & | scenario | ||
) |
Definition at line 137 of file crifrecord.cpp.
CrifRecord::CurvatureScenario parseFrtbCurvatureScenario | ( | const std::string & | scenario | ) |
Definition at line 152 of file crifrecord.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const CrifRecord & | cr | ||
) |
Enable writing of a CrifRecord.
Definition at line 164 of file crifrecord.cpp.
bool operator< | ( | const SimmBucketMapper::FailedMapping & | a, |
const SimmBucketMapper::FailedMapping & | b | ||
) |
Definition at line 76 of file simmbucketmapper.hpp.
bool operator< | ( | const BucketMapping & | a, |
const BucketMapping & | b | ||
) |
Definition at line 69 of file simmbucketmapperbase.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const SimmConfiguration::SimmSide & | s | ||
) |
Definition at line 236 of file simmconfiguration.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const SimmConfiguration::RiskClass & | rc | ||
) |
Definition at line 241 of file simmconfiguration.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const SimmConfiguration::MarginType & | mt | ||
) |
Definition at line 247 of file simmconfiguration.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const SimmConfiguration::IMModel & | model | ||
) |
Definition at line 253 of file simmconfiguration.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const SimmConfiguration::Regulation & | regulation | ||
) |
Definition at line 261 of file simmconfiguration.cpp.
SimmConfiguration::SimmSide parseSimmSide | ( | const string & | side | ) |
Definition at line 266 of file simmconfiguration.cpp.
SimmConfiguration::RiskClass parseSimmRiskClass | ( | const string & | rc | ) |
Definition at line 276 of file simmconfiguration.cpp.
SimmConfiguration::MarginType parseSimmMarginType | ( | const string & | mt | ) |
Definition at line 282 of file simmconfiguration.cpp.
SimmConfiguration::IMModel parseIMModel | ( | const string & | model | ) |
Definition at line 288 of file simmconfiguration.cpp.
SimmConfiguration::Regulation parseRegulation | ( | const string & | regulation | ) |
Definition at line 298 of file simmconfiguration.cpp.
std::string combineRegulations | ( | const string & | regs1, |
const string & | regs2 | ||
) |
Definition at line 306 of file simmconfiguration.cpp.
std::set< std::string > parseRegulationString | ( | const string & | regsString, |
const set< string > & | valueIfEmpty | ||
) |
Reads a string containing regulations applicable for a given CRIF record.
Definition at line 315 of file simmconfiguration.cpp.
std::string sortRegulationString | ( | const std::string & | regsString | ) |
Cleans a string defining regulations so that different permutations of the same set will be seen as the same string, e.g. "APRA,SEC,ESA" and "SEC,ESA,APRA" should be equivalent.
Definition at line 342 of file simmconfiguration.cpp.
std::string removeRegulations | ( | const string & | regsString, |
const vector< string > & | regsToRemove | ||
) |
Removes a given vector of regulations from a string of regulations and returns a string with the regulations removed.
Definition at line 354 of file simmconfiguration.cpp.
std::string filterRegulations | ( | const std::string & | regsString, |
const std::vector< std::string > & | regsToFilter | ||
) |
Filters a string of regulations on a given vector of regulations and returns a string containing only those filtered regulations
Definition at line 369 of file simmconfiguration.cpp.
SimmConfiguration::Regulation getWinningRegulation | ( | const std::vector< string > & | winningRegulations | ) |
From a vector of regulations, determine the winning regulation based on order of priority.
Definition at line 385 of file simmconfiguration.cpp.
std::ostream & operator<< | ( | ostream & | out, |
const SimmResults::Key & | k | ||
) |
Enable writing of Key.
Definition at line 115 of file simmresults.cpp.
std::vector< std::string > loadFactorList | ( | const std::string & | inputFileName, |
const char | delim | ||
) |
Definition at line 55 of file utilities.cpp.
std::vector< std::vector< double > > loadScenarios | ( | const std::string & | inputFileName, |
const char | delim | ||
) |
Definition at line 78 of file utilities.cpp.
QuantLib::Matrix loadCovarianceMatrix | ( | const std::string & | inputFileName, |
const char | delim | ||
) |
Definition at line 114 of file utilities.cpp.
SimmVersion parseSimmVersion | ( | const string & | version | ) |
Definition at line 162 of file utilities.cpp.
QuantLib::ext::shared_ptr< SimmConfiguration > buildSimmConfiguration | ( | const string & | simmVersion, |
const QuantLib::ext::shared_ptr< SimmBucketMapper > & | simmBucketMapper, | ||
const QuantLib::ext::shared_ptr< SimmCalibrationData > & | simmCalibrationData, | ||
const Size & | mporDays | ||
) |
Definition at line 191 of file utilities.cpp.
std::string escapeCommaSeparatedList | ( | const std::string & | str, |
const char & | csvQuoteChar | ||
) |
If the input str is a comma seperated list the method quotation marks " if the csvQuoteChar is '\0'
Example:
commaSeparatedListToJsonArrayString("item1,item2", '') -> "item1, item2"
commaSeparatedListToJsonArrayString("item", '') -> "item"
Definition at line 248 of file utilities.cpp.
QuantLib::ext::shared_ptr< SimmConfiguration > buildSimmConfiguration | ( | const std::string & | simmVersion, |
const QuantLib::ext::shared_ptr< SimmBucketMapper > & | simmBucketMapper, | ||
const QuantLib::ext::shared_ptr< SimmCalibrationData > & | simmCalibrationData = nullptr , |
||
const QuantExt::Size & | mporDays = 10 |
||
) |
Date nextValidFixingDate | ( | Date | d, |
const QuantLib::ext::shared_ptr< Index > & | index, | ||
Size | gap = 7 |
||
) |
Definition at line 51 of file fixingmanager.cpp.
const bm< SimmConfiguration::RiskClass > riskClassMap |
Definition at line 45 of file riskfilter.cpp.
const bm< CrifRecord::RiskType > riskTypeMap |
Definition at line 53 of file riskfilter.cpp.
auto isSimmParameter = [](const ore::analytics::CrifRecord& x) { return x.isSimmParameter(); } |
auto isNotSimmParameter = std::not_fn(isSimmParameter) |
const bm<CrifRecord::ProductClass> productClassMap |
Definition at line 95 of file crifrecord.cpp.
Definition at line 45 of file simmbucketmapperbase.cpp.
const bm<SimmConfiguration::MarginType> marginTypeMap |
Definition at line 66 of file simmconfiguration.cpp.
const bm<SimmConfiguration::IMModel> imModelMap |
Definition at line 72 of file simmconfiguration.cpp.
const bm<SimmConfiguration::Regulation> regulationsMap |
Definition at line 77 of file simmconfiguration.cpp.