Python package for asset allocation integrating investor views via entropy pooling and Black–Litterman methodology
Project description
Py-vAllocation
Py-vAllocation is a Python package for asset allocation with a primary focus on integrating investor views.
Features
It's yet another portfolio optimization library, but unlike many others, Py-vAllocation aims to:
- Be modular and beginner-friendly, while remaining flexible and customizable for advanced users
- Support Variance, CVaR and Robust Bayesian optimisation, using either mean/variance distributions or scenario probabilities
- Avoid hidden assumptions or black-box components — every modeling choice is explicitly stated
- Incorporate investor views via historical flexible probabilities using entropy pooling and the Black-Litterman methodology
- Support shrinkage estimators and other Bayesian estimation methods
Installation
Since Py-vAllocation is under active development and not yet published on PyPI, install from source:
git clone https://github.com/enexqnt/py-vallocation.git
cd py-vallocation
pip install .
Quick Start
See examples here
Requirements
- Python 3.8+
- numpy >= 1.20.0
- cvxopt >= 1.2.0
- pandas (optional, recommended for enhanced functionality)
- check availability via
pyvallocation.optional.HAS_PANDAS
- check availability via
Development Status
Alpha release: Under active development. Many features are not yet implemented or fully tested. Breaking changes may occur without notice. Use at your own risk.
Contributing
Contributions and feedback are welcome! Please see CONTRIBUTING.md for guidelines.
License
This project is licensed under the GNU General Public License v3.0 License. See LICENSE for details.
Credits
Some part of the code, where explictly stated, is adapted from fortitudo-tech
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_vallocation-0.1.0.tar.gz.
File metadata
- Download URL: py_vallocation-0.1.0.tar.gz
- Upload date:
- Size: 46.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f266003c01093d8aa2ad92f893db9cc90b4aae8931ec61106356c25d0f691a5
|
|
| MD5 |
434a67d314d94bb629c9d7061b5b0390
|
|
| BLAKE2b-256 |
7e6cc016c2a89b5dba5fa62f855ae0a5430bfbe84cdaeed8907b3cd95459da2a
|
File details
Details for the file py_vallocation-0.1.0-py3-none-any.whl.
File metadata
- Download URL: py_vallocation-0.1.0-py3-none-any.whl
- Upload date:
- Size: 44.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8d907792dffdfe999fa805d8435d84d031a76fe045cf84a15d0eedcaaebff92
|
|
| MD5 |
304a120655d738f2c8ef48fb16bbaca0
|
|
| BLAKE2b-256 |
0eb8351ec2f4bcc677c6675b12f3273a477582afb791d62f5c2ac023e8a66f5a
|