EXS1.DE going long on Equity(0 [EXS1.DE]) 500 for 53.315 each
IndexError: index 0 is out of bounds for axis 0 with size 0
It comes from line
short_mavg = history(36, '1d', 'price').mean()[sym]
and I nailed it down to
zipline/history/history_container.pyc in ffill_buffer_from_prior_values(freq, field, buffer_frame, digest_frame, pv_frame, raw):
nan_sids = pd.isnull(buffer_values[0])
I printed out all the historic prices and they are all there.
Any ideas?
Thanks for your help!Best,Tobias