Due to popular demand from developers, this package contains the Entropy Pooling implementation from the fortitudo.tech Python package with a more permissive BSD 3-Clause license.
This package contains only one function called ep and has minimal dependencies with just scipy. See the examples for how you can import and use the ep function.
You can explore the examples without local installations using Binder.
Installation can be done via pip:
pip install entropy-pooling
Entropy Pooling is a powerful method for implementing subjective views and performing stress-tests for fully general Monte Carlo distributions. It was first introduced by Meucci (2008) and refined with sequential algorithms by Vorobets (2021).
You can loosely think about Entropy Pooling as a generalization of the Black-Litterman model without all the oversimplifying assumptions. Entropy Pooling operates directly on
the next generation market representation
defined by the simulation matrix
For a quick introduction to Entropy Pooling intuition, watch this YouTube video.
The original Entropy Pooling approach solves the minimum relative entropy problem
subject to linear constraints on the posterior probabilities
The constraints matrices
A useful statistic when working with Entropy Pooling is the effective number of scenarios introduced by Meucci (2012).
For a causal Bayesian network overlay on top of Entropy Pooling, see Vorobets (2023).
Video walkthroughs of the two notebook examples are available here and here. The videos give additional insights into Entropy Pooling theory and its sequential refinements. It is highly recommended to watch these videos to quickly increase your understanding.
Entropy Pooling is a core part of the next generation investment framework that also utilizes fully general Monte Carlo distributions and CVaR analysis, see this YouTube video for an introduction. To get a pedagogical and deep presentation of all the possibilities Entropy Pooling offers, see the Portfolio Construction and Risk Management Book.