Calculates the amount of the addon for each heding/nettting set
CalcAddon(trades_tree, MF, simplified = FALSE, OEM = FALSE)
The aggregate amount of the addon summed up for all the asset classes
A tree structure with the input trades
(Optional) The Maturity Factor based on the collateral agreement
(optional) When TRUE, the add-ons will be calculated as per the simplified SA-CCR
(optional) When TRUE, the add-ons will be calculated as per the Original Exposure Method
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