CODE:
if (bars.IsFirstBarOfDay(idx)) { do something }
When looking at bars.DateTimes[idx] it appears FirstBarOfDay includes premarket. Is this correct?
Rename
It's the first bar of the calendar day that's loaded. If you load premarket, then it's included.
Run the example code with and without filtering premarket data.
Run the example code with and without filtering premarket data.
Ugh. I thought I had the premarket filter on, I didn't. That makes sense. Thanks.
Your Response
Post
Edit Post
Login is required