Hi, I am trying to work locally, using zipline source code on Github, and trying to use data locally. Few questions: I downloaded, built, installed zipline, and ran
zipline/zipline/examples/buyapple.py
I get
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 957, in __init__
self._reader = _parser.TextReader(src, **kwds)
File "parser.pyx", line 480, in pandas.parser.TextReader.__cinit__ (pandas/parser.c:4517)
ValueError: No columns to parse from file
From Pandas. I coded up a simpler example (taken from README)
from zipline import TradingAlgorithm
from zipline.transforms import MovingAverage
from zipline.utils.factory import load_from_yahoo
from datetime import datetime
import pytz
import matplotlib.pyplot as plt
start = datetime(1990, 1, 1, 0, 0, 0, 0, pytz.utc)
end = datetime(2002, 1, 1, 0, 0, 0, 0, pytz.utc)
data = load_from_yahoo(stocks=['AAPL'], indexes={}, start=start,
end=end, adjusted=False)
This gives me
File "/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py", line 1935, in _find_block
self._check_have(item)
File "/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py", line 1942, in _check_have
raise KeyError('no item named %s' % com.pprint_thing(item))
KeyError: u'no item named Close'
Any ideas what is going on? Also is there any link I can use to get all of Quantopian database?