robertmartin8 / PyPortfolioOpt

Financial portfolio optimisation in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity
https://pyportfolioopt.readthedocs.io/
MIT License
4.28k stars 930 forks source link

Adjust notebooks to run on Colab, Kaggle, Gradient, and SageMaker #416

Closed fdabrandao closed 2 years ago

fdabrandao commented 2 years ago

I added links in the headers to load the Jupyter Notebooks directly on Google Colab and similar platforms and a cell to ensure the presence of the dependencies.

The changes are fairly minimal and should not affect the ability to run on binder:

You can see readonly versions of the notebooks running on Colab at:

1 - https://colab.research.google.com/drive/1VD2EpbIxJ4D7FKdIsAlhqtVgaPDZehT_?usp=sharing

2 - https://colab.research.google.com/drive/1uEBYdi8M2Vn0uRSrl6lYaQCds4ZqHVVq?usp=sharing

3 - https://colab.research.google.com/drive/1cSV3_h_irzBLeIovwmdetLudVejZzPuN?usp=sharing

4 - https://colab.research.google.com/drive/1EqiPqKju6u4zsMNgH5NTbQI3ybP8VClq?usp=sharing

5 - https://colab.research.google.com/drive/1HaM6HT6syD5iLkqaPjz5x2Ks8AMWIKFL?usp=sharing

robertmartin8 commented 2 years ago

Looks good! Hoping to merge stuff in a couple of weeks' time. Sorry for the slow pickup!