Skip to content
Prev 5630 / 15274 Next

Rounding time series to nearest 5mn

Josh, Jeff, thank you for your answers. 

Jeff, I totally agree with you re: dangers of changing time stamps on observations. 

The issue here is that the data is pulled from BBG and should be in 5mn increments, so even though the time stamp shows 04:59, I'm 99% sure it really means 05:00. 

I guess you would argue that its more correct to keep it as 04:59 given that xts can handle this but my "quick and dirty" testing at this stage will suffer some intial productivity if I do this. Not super clean, but will get me through until I find out why the data from Bloomberg is not retrieved in multiples of 5mn...

Thank you again for your quick replies. Much appreciated.

/K
--- On Sun, 2/14/10, Jeff Ryan <jeff.a.ryan at gmail.com> wrote: