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.4.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.4-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fortitudo_tech-1.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 a28810dcb4011d0e023db7cb6109d6cf5830c7c7680e5211248aa0fab59a3026
MD5 4867ed96d06f47ba854f47209b82a414
BLAKE2b-256 00c1e5bdad7072c99bdcc3f5f94c32b46812302ccdb92c2fe054ddbe0efc3c76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fortitudo_tech-1.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4e4585d9d31d012a9a219192f792ed302ec6ff75fc506c223015a9c2a55b905c
MD5 1cf0ec380a8a0d5610fd98b5898367c0
BLAKE2b-256 4acdf6f60b32ae15d42ad9b779ec1b3c907cf914d7b68d4abf1b193479fa0a5e

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