Skip to content
Prev 8184 / 15274 Next

How to know when an XTS row is at a particular interval

Hi,

Endpoints won't always work for me either.  In order to use endpoints, I would need to know the whole series ahead of time.  

If I have transactions streaming in (Like from an IBrokers account) then I can't compute "endpoints".

I suppose that I could calculate the minutes and seconds of each transaction and then compare to the bar frequency I want, but that seems computationally excessive.

I guess what I want to do is that when a transaction arrives, ask, "Is this on the mark, or close enough to treat it as on the mark".

--
Noah Silverman
UCLA Department of Statistics
8117 Math Sciences Building
Los Angeles, CA 90095
On Jul 7, 2011, at 1:42 PM, Brian G. Peterson wrote: