CounterpartyCalculator interface.
More...
#include <orea/engine/cptycalculator.hpp>
|
virtual void | calculate (const std::string &name, Size nameIndex, const QuantLib::ext::shared_ptr< SimMarket > &simMarket, QuantLib::ext::shared_ptr< NPVCube > &outputCube, const Date &date, Size dateIndex, Size sample, bool isCloseOut=false)=0 |
|
virtual void | calculateT0 (const std::string &name, Size nameIndex, const QuantLib::ext::shared_ptr< SimMarket > &simMarket, QuantLib::ext::shared_ptr< NPVCube > &outputCube)=0 |
|
◆ calculate()
virtual void calculate |
( |
const std::string & |
name, |
|
|
Size |
nameIndex, |
|
|
const QuantLib::ext::shared_ptr< SimMarket > & |
simMarket, |
|
|
QuantLib::ext::shared_ptr< NPVCube > & |
outputCube, |
|
|
const Date & |
date, |
|
|
Size |
dateIndex, |
|
|
Size |
sample, |
|
|
bool |
isCloseOut = false |
|
) |
| |
|
pure virtual |
- Parameters
-
name | The counterparty name |
nameIndex | Name index for writing to the cube |
simMarket | The market |
outputCube | The cube for data on name level |
date | The date |
dateIndex | Date index |
sample | Sample |
isCloseOut | isCloseOut |
◆ calculateT0()
virtual void calculateT0 |
( |
const std::string & |
name, |
|
|
Size |
nameIndex, |
|
|
const QuantLib::ext::shared_ptr< SimMarket > & |
simMarket, |
|
|
QuantLib::ext::shared_ptr< NPVCube > & |
outputCube |
|
) |
| |
|
pure virtual |
- Parameters
-
name | The counterparty name |
nameIndex | Name index for writing to the cube |
simMarket | The market |
outputCube | The cube |