- ago
CODE:
if (bars.IsFirstBarOfDay(idx)) { do something }


When looking at bars.DateTimes[idx] it appears FirstBarOfDay includes premarket. Is this correct?
0
1,159
Solved
2 Replies

Reply

Bookmark

Sort
Cone8
 ( 6.24% )
- ago
#1
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.
0
Best Answer
- ago
#2
Ugh. I thought I had the premarket filter on, I didn't. That makes sense. Thanks.
0

Reply

Bookmark

Sort