Learn R Programming

SACCR (version 3.3)

SA Counterparty Credit Risk under CRR2

Description

Computes the Exposure-At-Default based on the standardized approach of CRR2 (SA-CCR). The simplified version of SA-CCR has been included, as well as the OEM methodology. Multiple trade types of all the five major asset classes are being supported including the Other Exposure and, given the inheritance- based structure of the application, the addition of further trade types is straightforward. The application returns a list of trees per Counterparty and CSA after automatically separating the trades based on the Counterparty, the CSAs, the hedging sets, the netting sets and the risk factors. The basis and volatility transactions are also identified and treated in specific hedging sets whereby the corresponding penalty factors are applied. All the examples appearing on the regulatory papers (both for the margined and the unmargined workflow) have been implemented including the latest CRR2 developments.

Copy Link

Version

Install

install.packages('SACCR')

Monthly Downloads

346

Version

3.3

License

GPL-3

Maintainer

Tasos Grivas

Last Published

May 13th, 2025

Functions in SACCR (3.3)

ExampleIRDCommMargined

Margined IRDs+Commodity Example
CalcRC

Calculates the RC
SACCRCalculator

SA-CCR Calculator
CreateTradeGraph

Creates a tree-like structure of a list of trades
DetermineCCRMethodology

Specifies the CCR methodology
ExampleCredit

Credit Products Example
ExampleBasisVol

Basis+Volatility trades Example
CalcEAD

Calculates the EAD
CalcAddon

Calculates the Addon amount
CalcPFE

Calculates the PFE
ExampleFX

FX Example
ExampleComm

Commodities Example
ExampleIRDCredit

IRDs+Commodity Example
HandleBasisVol

Splits trades in being basis, volatility or 'normal' transactions
LoadSupervisoryData

Supervisory Data Loading
SingleTradeAddon

Calculates the addon information
ExampleIRD

IRDs Example