Skip to main content

Entropy Pooling views and stress-testing combined with Conditional Value-at-Risk (CVaR) portfolio optimization in Python.

Project description

Pytest Codecov Binder

Fortitudo Technologies Open Source

This package allows you to explore open-source implementations of some of our fundamental methods, for example, Sequential Entropy Pooling (SeqEP), CVaR optimization, and Fully Flexible Resampling (FFR) in Python.

You can watch this YouTube playlist for a walkthrough of the package’s functionality and examples.

For a high-level introduction to the investment framework, watch this YouTube video and Substack post.

For a pedagogical and deep presentation of the investment framework and its methods, see the Portfolio Construction and Risk Management Book.

To build the deepest understanding of all the theories and methods, you can complete the Applied Quantitative Investment Management Course.

Audience

The package is intended for advanced users who are comfortable specifying portfolio constraints and Entropy Pooling views using matrices and vectors. This gives full flexibility in relation to working with these technologies. Hence, input checking is intentionally kept to a minimum.

Installation Instructions

Installation can be done via pip:

pip install -U fortitudo.tech

For best performance, we recommend that you install the package in a conda environment and let conda handle the installation of dependencies before installing the package using pip. You can do this by following these steps:

conda create -n fortitudo.tech -c conda-forge python scipy pandas matplotlib cvxopt
conda activate fortitudo.tech
pip install fortitudo.tech

The examples might require you to install additional packages, e.g., seaborn and ipykernel/notebook/jupyterlab if you want to run the notebooks. Using pip to install these packages should not cause any dependency issues.

You can also explore the examples in the cloud without any local installations using Binder. However, note that Binder servers have very limited resources and might not support some of the optimized routines this package uses. If you want access to a stable and optimized environment with persistent storage, please subscribe to our Data Science Server.

Company

Fortitudo Technologies offers novel investment software as well as quantitative and digitalization consultancy to the investment management industry. For more information, please visit our website.

Disclaimer

This package is completely separate from our proprietary solutions and therefore not representative of the quality and functionality offered by the Investment Simulation and Investment Analysis modules.

For a short presentation of which CVaR problems the Investment Analysis module can solve and at what speed, see the cvar-optimization-benchmarks repository.

If you are an institutional investor and want to experience how these methods can be used for sophisticated analysis in practice, please request a demo by sending an email to demo@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

fortitudo_tech-1.2.2.tar.gz (5.4 MB view details)

Uploaded Source

Built Distribution

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

fortitudo_tech-1.2.2-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

Details for the file fortitudo_tech-1.2.2.tar.gz.

File metadata

  • Download URL: fortitudo_tech-1.2.2.tar.gz
  • Upload date:
  • Size: 5.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.10 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for fortitudo_tech-1.2.2.tar.gz
Algorithm Hash digest
SHA256 4401da32c3e4ec022b0c62de852330dc95e586adf696bb4be585f311b9538bed
MD5 9fdd61d7ada4885fd9c1caeda91e642f
BLAKE2b-256 a10f997a00ddaef56282d6422c911a701de04b087b366e13392b9c61b6fc930f

See more details on using hashes here.

File details

Details for the file fortitudo_tech-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: fortitudo_tech-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.10 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for fortitudo_tech-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 22c2bd2422daa27ebb2d78858d88477c5dd3ecbd6802e612935813f49b6a2deb
MD5 6a65c39dac75fb67260032ec4e717f26
BLAKE2b-256 1cb8ce419c639940caf3e24c3c544279b4a159475052299f09384a426b7eaf56

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