Skip to main content

An XVA quantitative library with AAD

Project description

RiskFlow

An xVA quantitative library written in pure python using pytorch

Installation

The easiest way to install riskflow is via pip

pip install riskflow

The minimum required version is pytorch 1.8. It is highly recommended to install pytorch with gpu support. Downloading the source and running setup also works.

python setup.py install

Documentation

Documentation is available at readthedocs.

Usage

There are 2 batch scripts installed :

  • RF_Batch runs CVA, CollVA and FVA calculations on a folder of netting sets
  • RF_Bootstrap currently only calculates hull white 2 factor parameters from swaption vols

Known issues

  1. Documentation is out of date

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

riskflow-0.3.1.dev0.tar.gz (185.9 kB view hashes)

Uploaded source

Built Distribution

riskflow-0.3.1.dev0-py3-none-any.whl (192.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page