ValuationCalculator interface.
More...
#include <orea/engine/valuationcalculator.hpp>
|
virtual | ~ValuationCalculator () |
|
virtual void | calculate (const QuantLib::ext::shared_ptr< Trade > &trade, Size tradeIndex, const QuantLib::ext::shared_ptr< SimMarket > &simMarket, QuantLib::ext::shared_ptr< NPVCube > &outputCube, QuantLib::ext::shared_ptr< NPVCube > &outputCubeNettingSet, const Date &date, Size dateIndex, Size sample, bool isCloseOut=false)=0 |
|
virtual void | calculateT0 (const QuantLib::ext::shared_ptr< Trade > &trade, Size tradeIndex, const QuantLib::ext::shared_ptr< SimMarket > &simMarket, QuantLib::ext::shared_ptr< NPVCube > &outputCube, QuantLib::ext::shared_ptr< NPVCube > &outputCubeNettingSet)=0 |
|
virtual void | init (const QuantLib::ext::shared_ptr< Portfolio > &portfolio, const QuantLib::ext::shared_ptr< SimMarket > &simMarket)=0 |
|
virtual void | initScenario ()=0 |
|
◆ ~ValuationCalculator()
◆ calculate()
virtual void calculate |
( |
const QuantLib::ext::shared_ptr< Trade > & |
trade, |
|
|
Size |
tradeIndex, |
|
|
const QuantLib::ext::shared_ptr< SimMarket > & |
simMarket, |
|
|
QuantLib::ext::shared_ptr< NPVCube > & |
outputCube, |
|
|
QuantLib::ext::shared_ptr< NPVCube > & |
outputCubeNettingSet, |
|
|
const Date & |
date, |
|
|
Size |
dateIndex, |
|
|
Size |
sample, |
|
|
bool |
isCloseOut = false |
|
) |
| |
|
pure virtual |
◆ calculateT0()
virtual void calculateT0 |
( |
const QuantLib::ext::shared_ptr< Trade > & |
trade, |
|
|
Size |
tradeIndex, |
|
|
const QuantLib::ext::shared_ptr< SimMarket > & |
simMarket, |
|
|
QuantLib::ext::shared_ptr< NPVCube > & |
outputCube, |
|
|
QuantLib::ext::shared_ptr< NPVCube > & |
outputCubeNettingSet |
|
) |
| |
|
pure virtual |
◆ init()
virtual void init |
( |
const QuantLib::ext::shared_ptr< Portfolio > & |
portfolio, |
|
|
const QuantLib::ext::shared_ptr< SimMarket > & |
simMarket |
|
) |
| |
|
pure virtual |
◆ initScenario()
virtual void initScenario |
( |
| ) |
|
|
pure virtual |