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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file riskflow-0.3.1.dev0.tar.gz.

File metadata

  • Download URL: riskflow-0.3.1.dev0.tar.gz
  • Upload date:
  • Size: 185.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for riskflow-0.3.1.dev0.tar.gz
Algorithm Hash digest
SHA256 1b0971ddc0eb93ef6df64616d4c140f325930d509c901b45683a344175b4118c
MD5 429b9dea149c63af4f032d84ccd39d47
BLAKE2b-256 bb4608528bd9081da502d2d2d0037dcdc5ceea2cbf3069ee4df9d323f7b4ac0a

See more details on using hashes here.

File details

Details for the file riskflow-0.3.1.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for riskflow-0.3.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b05cc091cf78920360af77150c246a1ccc5159bea94e7811cfca3febe5dfde5
MD5 ea54f3dd27a0d409dbf620d0254d1f46
BLAKE2b-256 82ae7f409432255423d2afbbf8694d9e82348307fff7d267eceb41d31da3586d

See more details on using hashes here.

Supported by

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