Skip to content
Prev 8075 / 15274 Next

Volume stats and 5 minute bars

On Thu, 2011-06-16 at 12:08 -0700, Noah Silverman wrote:
1 second trade data is not raw tick data.  Just to be clear on
terminology.
yes, to.period()
use aggregate() or one of the apply functions on endpoints() using your
five minute endpoints, cbind that aggregation to your 5 minute bars.

then use align.time on the resulting object to line it up to the next
even minute.