Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Question regarding data

Hi ,

I have few questions regarding the data provided by Quantopian :

  1. As per the docs, we have data for US equities. So does it include ETFs and warrants ? Also could you please confirm whether each and every stock traded in a US exchange is included here ?

  2. Also, I understand that the backtesting code is exposed. How flexible is a change in the backtesting code, that is , is it possible to change the backtesting code and test our programs in the same.

Thanks
Babinu

4 responses

Hello Babinu,

Yes, there are ETFs (not sure about warrants). I don't know about the full breadth of U.S. securities available...perhaps one of the Quantopian guys can fill you in.

Regarding the backtesting code being "exposed" it is posted on https://github.com/quantopian/zipline. Quantopian manages the code, and uses it as the engine for their website backtesting and trading tools. It can also be run offline, by downloading it to your pc.

Hope this helps.

Grant

Hi Grant,

Thanks for the quick reply. I have a related question here :

Quantopian manages the code, and uses it as the engine for their website backtesting and trading tools. It can also be run offline, by downloading it to your pc.

So is it possible to do backtesting on your computer (and not over the web) ? I am not sure how it can be run offline since the data is not available (since it is kept online by quantopian)

Thanks
Babinu

Babinu,

You would need to obtain your own data to run Zipline on your pc (e.g. from Yahoo or a similar source). I've never done it, but others have.

Grant

Quantopian has very nice 1-minute data already configured and cleaned for your use. That is one of the most compelling reasons to use Quantopian from my point of view.

The offline version of Zipline is configured to download historical daily prices from Yahoo. You can also plug in other data sources that you may have to work with Zipline for intraday backtesting.

As well with Zipline you would have to setup your own plotting, etc. So it's a bit of a DIY situation compared to Quantopian. Still much less work than writing a backtester from scratch :)