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: 6 months ago
JSON representation
A Python library for generating analytic tests for credit portfolio loss distributions
- Host: GitHub
- URL: https://github.com/open-risk/portfolioanalytics
- Owner: open-risk
- License: gpl-2.0
- Created: 2014-04-16T09:12:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T17:56:08.000Z (about 1 year ago)
- Last Synced: 2024-12-13T22:08:55.548Z (10 months ago)
- Topics: credit-portfolio-management, credit-risk, portfolio-management
- Language: Python
- Homepage: https://www.openriskmanagement.com
- Size: 213 KB
- Stars: 32
- Watchers: 4
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
[](https://concentrationMetrics.readthedocs.io/en/latest/?badge=latest)

[](https://github.com/Naereen/StrapDown.js/blob/master/LICENSE)
[](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_qThe 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