Skip to content
Prev 8074 / 15274 Next

Align 5 minute bars

Your trade would have been *in* the bar.

typically, you'd use something of the type:

align.time(to.period(x,...)...) 

to first aggregate your trades into bars, and *then* align the bars.
This doesn't create any look-ahead bias.

  - Brian
On Thu, 2011-06-16 at 13:29 -0700, Noah Silverman wrote: