Skip to content
Prev 8069 / 15274 Next

Align 5 minute bars

Jeff,

If I understand the documentation correctly, align.time just shifts the time stamps of the existing bars.  That sounds dangerous as the individual ticks aren't moving.

For example, if a bar is currently set at:   18:39.46
We have a transaction at 18:39:48
As it stands, that transaction is in the *next* bar that would start at 18:39.47
If I use align.time, it will shift the bar to 18:40 BUT since we already have the OHLC summary, what happens to that transaction?


--
Noah Silverman
UCLA Department of Statistics
8117 Math Sciences Building
Los Angeles, CA 90095
On Jun 16, 2011, at 12:40 PM, Jeff Ryan wrote: