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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e4b08f4430e999b5037052be6afce780ae80a55b245159261cfe610bc2c9bce |
|
MD5 | 00405ea61c693739f506acc594ba954c |
|
BLAKE2b-256 | 84f2f8dd68228a1ead45dacc1f51fbbe3324fa164c75cd1bf85e0b0992efdfab |