Jupyter Notebook examples are available in the fortitudo.tech GitHub repository. The repository contains the following examples:
How to combine CVaR optimization with Entropy Pooling views / stress-tests
A replication of the results from Vorobets  for the original Entropy Pooling heuristic
The accompanied code for Vorobets  with a comparison of mean-CVaR and mean-variance optimization explaining why we use demeaned CVaR as default (it’s not recommended to run this example with 1,000,000 scenarios on Binder, see the comments below)
An illustration of how to work with the time series simulation that follows with this package
The accompanied code for Vorobets  with an example of how to use the relative market values \(v\) parameter for portfolio optimization
How to use the exponential decay simulation / P&L modeling functionality with historical time series for FAANG stocks
How to use the time series simulation for risk factor and P&L simulation and combine this with Entropy Pooling views on risk factors
The accompanied code for Vorobets  illustrating how Bayesian networks can be used in combination with Entropy Pooling for causal and predictive market views and stress-testing
Example illustrating the effect of parameter uncertainty in mean-variance optimization.
See this YouTube playlist for a walkthrough of the package’s functionality and examples. The examples are good places to start exploring the functionality of this package. We have very limited resources for support in relation to these, but please let us know if you have suggestions for how we can improve them and make them easier to understand.
You can 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.