Skip to main content

Python package for asset allocation with a primary focus on integrating investor views.

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 with a simple API, while remaining flexible and customizable for advanced users
  • Avoid hidden assumptions or black-box components, every modeling choice is explicitly stated
  • Incorporate investor views via fully flexible probabilities using entropy pooling and the Black-Litterman methodology
  • Support shrinkage and other Bayesian estimation methods
  • Support variance-based, scenario-based CVaR, and robust optimization models

Underlying literature

Installation

Py-vAllocation is under active development, so 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 >=1.0.0
  • scipy >= 1.10.0

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 code, where explicitly stated, is adapted from fortitudo-tech

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_vallocation-0.1.1.tar.gz (58.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_vallocation-0.1.1-py3-none-any.whl (61.8 kB view details)

Uploaded Python 3

File details

Details for the file py_vallocation-0.1.1.tar.gz.

File metadata

  • Download URL: py_vallocation-0.1.1.tar.gz
  • Upload date:
  • Size: 58.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for py_vallocation-0.1.1.tar.gz
Algorithm Hash digest
SHA256 709aed90deee7e2f3d1ec8c454d1c46c1985b42080930df4c360ba9f80b7fb11
MD5 d25c434401e0efa7d1e0fce0827444e8
BLAKE2b-256 0e8b3222ecf1de8f7d0941d43320fc2c344870cfc9547cc513401109f509e2d5

See more details on using hashes here.

File details

Details for the file py_vallocation-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: py_vallocation-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 61.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for py_vallocation-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2408fe7879f7d60392254bfae328c248dd7316d6ebf17847e962f38b612effad
MD5 fec84244ad46d914c8365509f33290b7
BLAKE2b-256 5bde1184ec306bf0ac3c5b152ed26350ccad80182033585ffd0f17e467733852

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page