Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Metadata

Release files for riskflow 0.3.1.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for riskflow 0.3.1.dev0
File Size Uploaded
riskflow-0.3.1.dev0.tar.gz 185.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for riskflow 0.3.1.dev0
File Interpreter ABI Platform
riskflow-0.3.1.dev0-py3-none-any.whl Python 3 none any Details

Total release size: 378.5 kB

Release files / riskflow-0.3.1.dev0.tar.gz

Download URL riskflow-0.3.1.dev0.tar.gz
Size 185.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1b0971ddc0eb93ef6df64616d4c140f325930d509c901b45683a344175b4118c
BLAKE2b-256 checksum
How to use checksums
bb4608528bd9081da502d2d2d0037dcdc5ceea2cbf3069ee4df9d323f7b4ac0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release files / riskflow-0.3.1.dev0-py3-none-any.whl

Download URL riskflow-0.3.1.dev0-py3-none-any.whl
Size 192.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b05cc091cf78920360af77150c246a1ccc5159bea94e7811cfca3febe5dfde5
BLAKE2b-256 checksum
How to use checksums
82ae7f409432255423d2afbbf8694d9e82348307fff7d267eceb41d31da3586d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page