Calculates the Replacement Cost(RC) and the sum of the MtMs for all the trades
CalcRC(trades, csa, collaterals, simplified, ignore_margin = FALSE)
The replacement Cost and the sum of the MtMs
The full list of the Trade Objects
(Optional) The CSA objects
(Optional) The collaterals Objects
(optional) When TRUE, collaterals will be ignored as per the simplified & OEM approach
(optional) if TRUE, the margin agreement workflow will be turned off
Tasos Grivas <tasos@openriskcalculator.com>
Regulation (EU) 2019/876 of the European Parliament and of the Council of 20 May 2019 http://data.europa.eu/eli/reg/2019/876/oj