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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fortitudo_tech-1.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 a8379aa2ce3a0e997d86aab30bdbee5bef91ed3f2ea3ecae365829160959191f
MD5 0ab1bd24ab92731b59a81f144a9c9c17
BLAKE2b-256 da552ab07f971969eba0532d140cb5fa4edee6f25c79fbfd5f2a014339ec3068

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fortitudo_tech-1.2.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 db16fae5d7d49067aed096ed5301f8fc1e0b0535508fb543a0f4d3a00d2444c0
MD5 d493566c559145c9ca68e7de40aa507f
BLAKE2b-256 777172e734143292b92479efddf27eb0c3c37499b60c5f3f6a6a874379cf98be

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