Riskfolio-Lib: Quantitative Strategic Asset Allocation, easy for you
Project description
Riskfolio-Lib
Quantitative Strategic Asset Allocation, easy for you.
Description
Riskfolio-Lib is a library for making quantitative strategic asset allocation or portfolio optimization in Python. It is built on top of cvxpy and closely integrated with pandas data structures.
Some of key functionality that Riskfolio-Lib offers:
- Portfolio optimization with 4 objective functions (Minimum Risk, Maximum Return, Maximum Risk Adjusted Return Ratio and Maximum Utility Function)
- Portfolio optimization with 10 convex risk measures (Std. Dev., MAD, CVaR, Maximum Drawdown, among others)
- Portfolio optimization with Black Litterman model.
- Portfolio optimization with Risk Factors model.
- Portfolio optimization with constraints on tracking error and turnover.
- Portfolio optimization with short positions and leverage.
- Tools for construct efficient frontier for 10 risk measures.
- Tools for construct linear constraints on assets, asset classes and risk factors.
- Tools for construct views on assets and asset classes.
- Tools for calculate risk measures.
- Tools for visualizing portfolio properties and risk measures.
Documentation
Online documentation is available at Documentation.
The docs include a tutorial with examples that shows the capacities of Riskfolio-Lib.
Dependencies
Riskfolio-Lib supports Python 3.6+.
Installation requires:
- numpy >= 1.17.0
- scipy >= 1.0.1
- pandas >= 1.0.0
- matplotlib >= 3.0.0
- cvxpy >= 1.0.15
- scikit-learn >= 0.22.0
- statsmodels >= 0.10.1
Installation
The latest stable release (and older versions) can be installed from PyPI:
pip install riskfolio-lib
Development
Riskfolio-Lib development takes place on Github: https://github.com/dcajasn/Riskfolio-Lib
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
Built Distribution
Hashes for Riskfolio_Lib-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03f3d44ac6c4ba7be51c7d982108f9906868ece80c57c58b2b5c250634fd875f |
|
MD5 | fccd390db19f793cacafc82755c80f52 |
|
BLAKE2b-256 | cb3c183a76d9427bb898d5bf293422662a5b4e3914b55740a41c8aecc86bfa17 |