UPDATE: Zipline has been installed, but when I copy and paste the algo from GitHub into Anaconda (Spyder) it won't run. I found out it's missing a few lines of code to run:
lgo_obj = TradingAlgorithm(initialize=initialize, handle_data=handle_data)
perf_manual = algo_obj.run(data)
This brings on a new problem, 'data' not defined error.
Has anybody successfully managed to use zipline inside of Spyder? Please help.
SOLVED - Magically it finished installing, guess I needed a little more patience. Took about 15min to get past that line but on to bigger and better things here :)
Alright, so I've got Anaconda2 with python 2.7 32-bit installed. In Spyder console I've used the "conda install -c Quantopian zipline" command line. It goes through downloading a bunch of packages, then extracts the packages. It's got part way through "Unlinking packages ..." and has frozen at this line :
Unlinking packages ...
[ COMPLETE ]| | 0%
[conda ]| | 0%
[conda ]| | 0%
[matplotlib ]|##### | 10%
[numexpr ]|########## | 20%
[numpy ]|############### | 30%
[pandas ]|####################
This is the second time I've tried this now, well 3rd but that was with Anaconda 3 and Python 3.5 which I heard was even more of a pain. The previous time I believe it froze at a different line but none the less, I'm still kinda stuck.
I'm fairly new to python so if somebody has a hand to lend it'd be much appreciated. If you'd suggest I go a totally different route to install I'm all ears. As well, if a different IDE would work better, I'm open to everything.
The reason for all of this is because, from what I understand, Quantopian won't let me import a trained model, and when I try to run my training on Quantopian it says it's out of memory and to optimize my code. So figured I'd get out of Quantopian altogther and do it locally. Thanks!