#include <orea/aggregation/creditmigrationhelper.hpp>
Public Member Functions | |
CreditMigrationHelper (const QuantLib::ext::shared_ptr< CreditSimulationParameters > parameters, const QuantLib::ext::shared_ptr< NPVCube > cube, const QuantLib::ext::shared_ptr< NPVCube > nettedCube, const QuantLib::ext::shared_ptr< AggregationScenarioData > aggData, const Size cubeIndexCashflows, const Size cubeIndexStateNpvs, const Real distributionLowerBound, const Real distributionUpperBound, const Size buckets, const Matrix &globalFactorCorrelation, const std::string &baseCurrency) | |
void | build (const std::map< std::string, QuantLib::ext::shared_ptr< Trade >> &trades) |
builds the helper for a specific subset of trades stored in the cube | |
const std::vector< Real > & | upperBucketBound () const |
Array | pnlDistribution (const Size date) |
Helper for credit migration risk calculation Dynamics of entity i's state X_i: \( dX_i = dY_i + dZ_i \) with