• Stars
    star
    119
  • Rank 297,930 (Top 6 %)
  • Language
    Jupyter Notebook
  • Created over 4 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Probabilistic Sharpe Ratio example in Python (by Marcos López de Prado)

Build Status codecov

Probabilistic-Sharpe-Ratio

Probabilistic Sharpe Ratio example in Python (by Marcos López de Prado)

Link to the blog post with the complete explanation

https://quantdare.com/probabilistic-sharpe-ratio/

Post summary

Imagine that we have one-year track-record of weekly returns from two different Hedge Funds in which we are interested to invest. So we have the last 52 weekly returns of both Hedge Funds. Let's look at their stats:

Mmm... it seems like the Hedge Fund 1 has a bigger Sharpe ratio, let's invest in it! Wait a moment! What is about Probabilistic Sharpe Ratio, how confident can we be with our SR estimations?

Ohh, now we can see that despite the bigger SR^ of the Hedge Fund 1 it seems more reasonable to invest our money in Hedge Fund 2!

This is because we can not have the same confidence in our SR^ estimations. With HF1 we have "only" a certainty of 92.99% that in the future its true SR will be greater than 0 (SR*), but with HF2 we have more statistically certainty that in the future will have positive returns: 95.19% of chances.