Hi everyone,
I'm new to Quantopian, and still trying to figure out how things work here.
I'm trying to apply one simple strategy I read from a blog, which is to apply one "kind of" high frequency factor to lower frequency trading. The factor here is the ratio
ratio = (Vol_m + Vol_a) / Vol
where Vol_m means the volume from 9:30-10:00 and Vol_a means volume from 15:30-16:00, and Vol is the volume of the day.
Which data set should I use to get this factor for a universe for a five day average, and long the lowest 10%, short the highest 10%?
I know the data.history should work, but I'm having some trouble applying that to the pipeline.