An XVA quantitative library with AAD
Project description
RiskFlow
An xVA quantitative library written in pure python using tensorflow.
Installation
The easiest way to install riskflow is via pip
pip install riskflow
Note that this installs tensorflow 1.14 (the cpu version). If gpu's are available, please install tensorflow-gpu (also version 1.14) 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
- The hessian (matrix of second derivatives) does not always compute - this may be a bug in tensorflow
Project details
Release history Release notifications | RSS feed
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.1.2.dev0.tar.gz
(868.6 kB
view hashes)
Built Distribution
riskflow-0.1.2.dev0-py3-none-any.whl
(915.7 kB
view hashes)
Close
Hashes for riskflow-0.1.2.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c94adb5ac2cdc0394256ebf623694cd1fe4e53e02403112539448ab2dd12dd1 |
|
MD5 | 118c9e520a1bd79a3baafb9e9a30cae1 |
|
BLAKE2b-256 | f0a77669f14c7322b8d04ed0d71480996723d76eaf0489d0b04f2ab660bb8fde |