Thanks for the advice on getting to the Zipline-Trader slack channel. Unfortunately the link to the Slack channel has expired. Can you please post an updated link so we can all check it out? I agree that Stefan’s book would be a very welcome addition to the knowledge base of that group as it’s the most practical book I have found on implementing these methodologies.
I just tried to install zipline-reloaded on a new conda environment with Python 3.8 (Windows 64) and received the following error:
UnsatisfiableError: The following specifications were found to be incompatible with each other: Output in format: Requested package -> Available versions
Anybody else have success installing it on a Windows machine? thanks for your help.
I just tested again in a fresh conda environment on Windows 64 with Python 3.8 and it both install and imports fine. Do you perhaps need to run conda update conda -n base?
Thanks Stefan. I couldn’t install it using conda, but was able to install it using pip after I installed talib. I then installed Alphalens and Pyfolio from git through your fork. I’m trying to work through Chapters 4 through 8 of your book. Now that I have these packages installed, is there anything you foresee that could cause a problem in working through these five chapters / notebooks? I can understand how frustrating it must be to have things change so much after you released your book, but we all owe you thanks for helping those of us who want to learn from your book.
Thank you. Glad to hear it was possible to install it via pip although I’m of course a bit concerned that it works in one environment but not another. There shouldn’t be any issues with those chapters in principle; since I won’t be able to update the environments you’d just have to install the requisite packages. Shouldn’t be more than just running ‘pip install’ for anything listed in the imports for a given notebook. The promise is to no longer need a separate env for backtesting with Zipline. On the other hand, given the large number of packages throughout the book, it might still be a good idea to have multiple environments should there be dependency conflicts.
Feel free to ping me here or raise a GitHub issue if you run into any problems and I’ll take a look.
Thanks Stefan. I will post my progress in the appropriate section of the Community site: Factors and Features. I’m trying to make my way through the notebooks and will post on where I get stuck. Hopefully it will be useful to others who try to work their way through the book and notebooks. Thanks again for your help in learning from your book.
I encountered a similar situation running Ubuntu 18.04. The conda install raised a similar issue, but the pip install worked fine after installing dependencies.
Hi Stefan, thanks for providing a quick reply. I just thought you have done it in pypi and it would be a shame not to release it in anaconda.
No hurry though.
On another note, since pyfolio is such a good trading analytics package and it currently works with Python up to version 3.8, can I ask whether there is any plan to make Pyfolio work with Python 3.9?
As a tentative solution, I deleted backtrader from ml4t-base.yaml.
And after instllation conpletes, I added backtrader using pypi.
I’m not sure my trouble is speecial to me.