Back to Community
Using Zipline locally vs. Quantopian's platform

Hey everyone. Would anyone mind clarifying some the differences between running Zipline locally as opposed to using Quantopian's online platform? Also, will minute data be available if I run my algorithms on a locally hosted platform? Thank you!

10 responses

The major differences are based the fact that zipline is an open-sourced backtester that is used both independently and in Q's over products.

Differences include:
- the datasets available...lotsa free-for-use-in-Q-products ones,
-the web-based ide(with debugger)
-the research(jupyter-based) web-based gui
-open sourced add-ons(e.g. pyfolio)
-non-open sourced code( e.g. alphalens, optimization api)
-ability in Zipline to enhance it with your own customization(e.g. GPU, other libs) and remove resource constraints involving computing time/space.

Look at the link Zipline group for community action
Here is the open sourced code on GitHub Zipline github

alan

I think it is just a typo in Alan's response above, but just to clarify alphalens is open-source and available here https://github.com/quantopian/alphalens .

Here is an example jupyter notebook that demonstrates how to use zipline to create the two python pandas objects that are used as input to alphalens .

Richard

@Richard, yes, good catch...and nice example!
Alphalens is open sourced. Sorry for the mistake.

Just need to look at the Q github repositories to see what is open sourced.
My belief is that the code in the https://github.com/quantopian tree is all open sourced.

alan

@Alan @Richard Thank you both for the great replies. Any idea as to whether or not minute data is available as well if I run locally? Thanks!

Can i run a Q's algo in Python, like copy and paste? lol I'm a total newie on this

Mostly yes, you’ll have to install zipline and all dependent modules and Feed it data though and some functions like schedule need to be in before_trading_starts instead of initialize

hi! thank you I'll try to make it work for python!

@Peter Bakker, Do I need to install Zipline in "Root mode" from the command prompt in order to be able to use it? Cuz I can only access conda in "base" mode, and I have no idea how to use access in Root mode, thank you!

Depends on your OS and your setup. Best to defer this convo to the slack channel

@Ken Fedor did you figure out about minute data? If not possible, where do you guys get data from?