def initialize(context):
fetch_csv('https://drive.google.com/uc?export=download&id=11_c99NLukD2SDevj9QNmf7NTLE67wxkx',
date_column='Local time',
date_format='%d.%m.%Y %H:%M%S',
symbol='EURUSD')
def handle_data(context, data):
if 'Close' in data['EURUSD']:
my_data = data['EURUSD']['Close']
record(my_data=my_data)
I added direct download link from Google Drive and I'm positive that the date format is correct, too. But the code returns nothing. Anyone know where the problem might be?
Also, the data looks like this:
Local time,Open,High,Low,Close,Volume
01.01.2015 00:00:00,1.20969,1.20976,1.20969,1.20976,1500