Helper for cam model implied SImple SIMM calculation. More...
#include <orea/aggregation/simmhelper.hpp>
Public Member Functions | |
| SimmHelper (const std::vector< std::string > ¤cies, const QuantLib::ext::shared_ptr< NPVCube > &cube, const QuantLib::ext::shared_ptr< AggregationScenarioData > &marketCube, const QuantLib::ext::shared_ptr< SensitivityStorageManager > &sensitivityStorageManager, const QuantLib::ext::shared_ptr< ore::data::Market > &market) | |
| Real | initialMargin (const std::string &nettingSetId, const Size dateIndex=Null< Size >(), const Size sampleIndex=Null< Size >()) |
| Real | deltaMargin () |
| Real | vegaMargin () |
| Real | curvatureMargin () |
| Real | irDeltaMargin () |
| Real | fxDeltaMargin () |
Helper for cam model implied SImple SIMM calculation.
using deltas and vegas stored in the NPV cube
| SimmHelper | ( | const std::vector< std::string > & | currencies, |
| const QuantLib::ext::shared_ptr< NPVCube > & | cube, | ||
| const QuantLib::ext::shared_ptr< AggregationScenarioData > & | marketCube, | ||
| const QuantLib::ext::shared_ptr< SensitivityStorageManager > & | sensitivityStorageManager, | ||
| const QuantLib::ext::shared_ptr< ore::data::Market > & | market ) |
Construct the dim helper based on
| Real initialMargin | ( | const std::string & | nettingSetId, |
| const Size | dateIndex = Null< Size >(), | ||
| const Size | sampleIndex = Null< Size >() ) |
Returns the Simple SIMM for