Hi all,
Starting from LEAN engine version 14490, due to python 3.6 loosing support we have updated the lean foundation image to use python 3.8. A long with it, we have updated all the python packages to their latest available version, including pandas 1.4.3, tensorflow 2.9.1 and many others. We have added a few new packages too: Riskfolio-Lib, ax-platform, nbeats. At the same time we remove a few which were no longer developed and were not compatible with python 3.8. For the complete list, please take a look at the foundation file.
Due to breaking changes in some libraries API or renames, we expect some algorithms will need an update to use the latest version.
We have also worked on improving LEAN support for python virtual environments, unblocking custom environments in the near future. Due to compatibility issues initially we will make 3 different environments available: standard (the default), standard & pomegranate and finally tensorforce & stable-lines3
A long with the updates, debugging python jupyter notebooks is now enabled.
Best,
Martin
Eden Wheeler
Hi Martin,
Thanks for sharing this information about the updates to LEAN engine and the Python packages used with it. It's great to see that you've upgraded to Python 3.8 and updated all the packages to their latest versions, including adding new packages and removing outdated ones.
It's important to note that some algorithms may require updates due to breaking changes in library APIs or renames. So, users should make sure to review their algorithms carefully and update them accordingly.
The support for Python virtual environments is also a welcome addition, which will provide users with greater flexibility in choosing their environment. And, the ability to debug Python Jupyter notebooks is a very useful feature.
Thank you for providing this helpful update.
Machine Learning
Martin Molinero
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!