Code for Medium publication: https://medium.com/geekculture/optimal-cryptocurrencies-portfolio-allocation-with-modern-portfolio-theory-in-python-66a0dc98ed65.
The file requirements.txt contains all the packages needed to reliably run the code. Python 3.9 is suggested, but not required.To use it, simply run pip with:
pip install -r requirements.txt