Skip to content

sylam/riskflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

409 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 3 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
  • RF_Docs generates the documentation from the ./docs_src folder into the ./docs folder

Known issues

  1. Documentation still work in progress

About

An xVA quantitative library written in python using tensorflow

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages