I'd like to write an algo using hourly bars in the SPY or E-mini S&P futures (once available).
I see from the tutorials that it looks like only 1m and 1d bars are available, is that correct?
Thanks!
I'd like to write an algo using hourly bars in the SPY or E-mini S&P futures (once available).
I see from the tutorials that it looks like only 1m and 1d bars are available, is that correct?
Thanks!
You can resample the historic data
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.resample.html
Thank you so much, this is exactly what I need
So now that I can make the hourly bars how can I get the algo to run once per hour? It says in the documentation that the schedule function runs either daily, weekly or monthly. Can I call the function from handle data method or some other way?