Skip to content
/ sa-ccr Public

A Python implementation to calculate the counterparty credit risk under Basel III Standardized Approach for Counterparty Credit Risk Management

Notifications You must be signed in to change notification settings

yanniey/sa-ccr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator for sa-ccr

A Python implementation to calculate the counterparty credit risk under Basel III Standardized Approach for Counterparty Credit Risk Management

Conditions:

  • IRS and Swaption only
  • Unmargined trades only

How-to Guide

  1. Run the calculator in Powershell/Terminal
python calculator.py
Please enter name of the json file without ending:
# Enter "test" to run through the test files in the exercise sheet
# You can also enter "example" to go through Example 1 in the reg text's appendix

# Result should be saved in an Excel file called "Output", under the "Result" tab

Run unittest in Powershell/Terminal Pytest Installation

# install pytest
pip install -U pytest
# run pytest
pytest

About

A Python implementation to calculate the counterparty credit risk under Basel III Standardized Approach for Counterparty Credit Risk Management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages