I have an xts sequence of stock trade events that I want to process to generate 1 minute OHLC time series. For instance this set of trades:
Timestamp Price
There are to.period() functions, eg to.minute() in xts which do that.
to.period()
to.minute()
Dirk