Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/open-risk/portfolioanalytics

A Python library for generating analytic tests for credit portfolio loss distributions
https://github.com/open-risk/portfolioanalytics

credit-portfolio-management credit-risk portfolio-management

Last synced: 25 days ago
JSON representation

A Python library for generating analytic tests for credit portfolio loss distributions

Awesome Lists containing this project

README

        

[![Documentation Status](https://readthedocs.org/projects/concentrationmetrics/badge/?version=latest)](https://concentrationMetrics.readthedocs.io/en/latest/?badge=latest)
![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)
[![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/Naereen/StrapDown.js/blob/master/LICENSE)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/Naereen/badges.svg)](http://isitmaintained.com/project/Naereen/badges "Percentage of issues still open")

## PortfolioAnalytics Library

A python library that provides semi-analytical functions useful for testing the accuracy of credit portfolio simulation models

The basic formulas are reasonably simple and well known: They underpin the calculation of RWA (risk weighted assets), and in turn required capital, thus ensuring stability for the entire banking systems worldwide

The library provides support for the Monte Carlo testing framework

Dependencies: scipy, sympy

## Examples
Check the jupyter notebooks

### Current Functions

* vasicek_base
* vasicek_base_el
* vasicek_base_ul
* vasicek_lim
* vasicek_lim_el
* vasicek_lim_ul
* vasicek_lim_q

The Vasicek Base family produces finite pool loss probabilities and measures (EL, UL)

The Vasicek Lim family produces asymptotic pool loss probabilities and measures (EL, UL, Quantile)

### Risk Manual

Use the [manual](https://www.openriskmanual.org/wiki/Main_Page) for documentation of use cases

### Contributions

Contributions are welcome. Check the TODO list for ideas of where to take this library next