Returns a tree structure depicting the add-on calculations on different hedging/netting sets
SACCRCalculator(
trades_filename,
csa_filename,
coll_filename,
JSON = FALSE,
simplified = FALSE,
OEM = FALSE,
export_results = FALSE,
ignore_margin = FALSE
)
The relevant exposure trees
a .csv file containing the trades
a .csv file containing CSAs
a .csv file containing collaterals
(optional) if TRUE it returns a json string
(optional) if TRUE, the simplified SA-CCR is being calculated
(optional) if TRUE, the Original Exposure Method is being calculated
(optional) if TRUE, a csv with the exposure at the top level will be exported
(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