Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Why isnt this fetching the VIX for me?

I'm not sure if I'm using the fetcher wrong or I'm not accessing the data correctly, any suggestions?

4 responses

In the initialize method, "add a stock" to trigger method handle_data, for example:

 set_benchmark(symbol('SPY'))  

or

context.stock = symbol('SPY')  

Thanks that seemed to work, do you know how to access specific dates from the file? It doesn't seem to be responding like a pandas usually does. For example how would I get the value from JAN 1 2015?

Take a look at the examples provided here.

I also do this same thing, for the VIX (and other volatility indices), my solution is here: https://www.quantopian.com/posts/function-like-history-but-for-fetch-csv-data