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

You can install Py-vAllocation from PyPI using:

pip install py-vallocation

Quick Start

See examples here

Requirements

  • Python 3.8+
  • numpy >= 1.20.0
  • cvxopt >= 1.2.0
  • pandas
  • 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.0a2.tar.gz (56.7 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.0a2-py3-none-any.whl (61.5 kB view details)

Uploaded Python 3

File details

Details for the file py_vallocation-0.1.0a2.tar.gz.

File metadata

  • Download URL: py_vallocation-0.1.0a2.tar.gz
  • Upload date:
  • Size: 56.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for py_vallocation-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 4c32eda018119eb22db7b431984e6aac0002a50209bc9aa687c0646d5a69a6c7
MD5 a40231e42bdbb8fac59186254d52d706
BLAKE2b-256 ed3490966fa040ae778ff547729fe20b905353c951d068af5f70fd1496fb70b1

See more details on using hashes here.

File details

Details for the file py_vallocation-0.1.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for py_vallocation-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 b76b514a75a488f0cdce7fe9f1691d5c7211bd7c8a20cbb7baa7e073a4a863ee
MD5 64a0c7208c3f342a1897469f3b9e7ed7
BLAKE2b-256 bfdc23799c338954d9e2a31bba848894ad9968fe511a2dca48c309766dcffe12

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