I'm requesting 2 days of historical 30 second bars at 8:30 AM, which gets me data from yesterday, as expected.
The OnBarsReceived event fires and all of the bars from yesterday are there and processed. Then, OnBarsChanged fires and the same bars are there.
Why is this happening?
Also, is there some reason I'm not appreciating for having these two events which require the same processing?
Also, I would have expected these bars to be timed on the minute and half-minute. Instead, the minute times vary with second reading from 00 to 02. Similarly, the half-minute times occur anywhere from 30 to 32.
The OnBarsReceived event fires and all of the bars from yesterday are there and processed. Then, OnBarsChanged fires and the same bars are there.
Why is this happening?
Also, is there some reason I'm not appreciating for having these two events which require the same processing?
Also, I would have expected these bars to be timed on the minute and half-minute. Instead, the minute times vary with second reading from 00 to 02. Similarly, the half-minute times occur anywhere from 30 to 32.
Comment