Skip to content
/ SACCR Public
forked from sa-ccr/SACCR

R package implementing the SA-CCR Basel III Regulation

License

Notifications You must be signed in to change notification settings

xvacode/SACCR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SA-CCR-RPackage

R package implementing the Standardized Approach for the Counterparty Credit Risk Management (SA-CCR) of the Basel III Regulatory framework.

This repository contains a prototype implementation of the Basel III Standardized Approach for Counterparty Credit Risk Management. (you can view the regulation here: http://www.bis.org/publ/bcbs279.htm)

A few words about the code:

  1. The trade structure is based on an Object Oriented Hierarchy where the Trade class contains methods which apply for the all the trade types. For example, for the calculation of the supervisory delta, the supervisory duration etc a polymorphic method from the Trade class is being called.
  2. The calcAddon function performs all the necessary groupings and aggregations per netting set and returns the aggregate Addon amount.
  3. The supervisory factors values are being read through a csv file.
  4. All the examples of the regulatory paper have been implemented (ExampleIRD.R contains the code for the IRDs case etc)
  5. Features like maturity depending on the underlying, base transactions etc are not implemented in the open source version.

If you want to use this code for commercial purposes or for any other queries please contact us at [email protected] or visit our website www.openriskcalculator.com

About

R package implementing the SA-CCR Basel III Regulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 90.4%
  • HTML 6.5%
  • CSS 3.1%