Helper for cam model implied VaR calculation. More...
#include <orea/aggregation/dimhelper.hpp>
Public Member Functions | |
| DimHelper (const QuantLib::ext::shared_ptr< CrossAssetModel > &model, const QuantLib::ext::shared_ptr< NPVCube > &cube, const QuantLib::ext::shared_ptr< SensitivityStorageManager > &sensitivityStorageManager, const std::vector< Time > &curveSensitivityGrid, const Size dimHorizonCalendarDays) | |
| Real | var (const std::string &nettingSetId, const Size order, const Real quantile, const Real thetaFactor=0.0, const Size dateIndex=Null< Size >(), const Size sampleIndex=Null< Size >()) |
Helper for cam model implied VaR calculation.
delta or delta-gamma (normal) based estimation of VaR
| DimHelper | ( | const QuantLib::ext::shared_ptr< CrossAssetModel > & | model, |
| const QuantLib::ext::shared_ptr< NPVCube > & | cube, | ||
| const QuantLib::ext::shared_ptr< SensitivityStorageManager > & | sensitivityStorageManager, | ||
| const std::vector< Time > & | curveSensitivityGrid, | ||
| const Size | dimHorizonCalendarDays ) |
Construct the dim helper based on
| Real var | ( | const std::string & | nettingSetId, |
| const Size | order, | ||
| const Real | quantile, | ||
| const Real | thetaFactor = 0.0, | ||
| const Size | dateIndex = Null< Size >(), | ||
| const Size | sampleIndex = Null< Size >() ) |
Returns the VaR for a