43 const QuantLib::ext::shared_ptr<Portfolio> portfolio,
45 const QuantLib::ext::shared_ptr<Market> market,
47 const string& configuration,
49 const string& baseCurrency,
51 const string& dvaName,
53 const string& fvaBorrowingCurve,
55 const string& fvaLendingCurve,
57 const bool applyDynamicInitialMargin,
59 const QuantLib::ext::shared_ptr<DynamicInitialMarginCalculator> dimCalculator,
61 const QuantLib::ext::shared_ptr<NPVCube> tradeExposureCube,
63 const QuantLib::ext::shared_ptr<NPVCube> nettingSetExposureCube,
65 const Size tradeEpeIndex = 0,
67 const Size tradeEneIndex = 1,
69 const Size nettingSetEpeIndex = 1,
71 const Size nettingSetEneIndex = 2,
73 const bool flipViewXVA =
false,
75 const string& flipViewBorrowingCurvePostfix =
"_BORROW",
77 const string& flipViewLendingCurvePostfix =
"_LEND");
80 const Date& d0,
const Date& d1,
const Real& rr)
override;
82 const Date& d0,
const Date& d1,
const Real& rr)
override;
84 const string& nid,
const string& cid,
const Date& d0,
const Date& d1,
const Real& rr)
override;
86 const string& nid,
const Date& d0,
const Date& d1,
const Real& rr)
override;
88 const Date& d0,
const Date& d1,
const Real& dcf)
override;
90 const Date& d0,
const Date& d1,
const Real& dcf)
override;
92 const Date& d0,
const Date& d1,
const Real& dcf)
override;
94 const Date& d0,
const Date& d1,
const Real& dcf)
override;
96 const Date& d0,
const Date& d1,
const Real& dcf)
override;
XVA Calculator base with static credit.
virtual const Real calculateNettingSetDvaIncrement(const string &nid, const Date &d0, const Date &d1, const Real &rr) override
virtual const Real calculateNettingSetFcaIncrement(const string &nid, const string &cid, const string &dvaName, const Date &d0, const Date &d1, const Real &dcf) override
virtual const Real calculateFbaIncrement(const string &tid, const string &cid, const string &dvaName, const Date &d0, const Date &d1, const Real &dcf) override
virtual const Real calculateNettingSetMvaIncrement(const string &nid, const string &cid, const Date &d0, const Date &d1, const Real &dcf) override
virtual const Real calculateCvaIncrement(const string &tid, const string &cid, const Date &d0, const Date &d1, const Real &rr) override
virtual const Real calculateDvaIncrement(const string &tid, const Date &d0, const Date &d1, const Real &rr) override
virtual const Real calculateNettingSetCvaIncrement(const string &nid, const string &cid, const Date &d0, const Date &d1, const Real &rr) override
map< Date, Size > dateIndexMap_
virtual const Real calculateNettingSetFbaIncrement(const string &nid, const string &cid, const string &dvaName, const Date &d0, const Date &d1, const Real &dcf) override
virtual const Real calculateFcaIncrement(const string &tid, const string &cid, const string &dvaName, const Date &d0, const Date &d1, const Real &dcf) override
XVA Calculator base class.
CVA calculator base class.