I'm trying to get a fetcher file into my algo, but it is a no-go.
The file looks like this:
day,my_data
5/4/2015,1
5/5/2015,2
5/6/2015,3
5/7/2015,4
5/8/2015,5
And my code is:
def initialize(context):
fetch_csv('https://www.dropbox.com/s/i1teg8xcokks6fl/fetcher_test.csv?dl=0',
date_column = 'day',
date_format = '%m/%d/%y',
symbol = 'my_data')
context.spy = sid(8554)
def handle_data(context, data):
pass
I am trying to run the algo on minute bars, with a start date of 5/4/2015 and an end date of 5/8/2015.
I get the error:
Exception: Error parsing remote CSV data.
There was a runtime error on line 5.
Grant