when period is daily, Bars.PercentComplete always return 1. whether it's historical (as it should) or real-time.
Bars.PercentComplete works correctly under any other intraday period, but not daily.
Suspicion: I think something changed in v8.0.9.0 because I'm quite sure it was working fine before.
Cause: I'm not sure, but I think it has something to do with the fact that Bars.GetSessionEndTime now returns date with midnight hour (any timezone) on daily bars where it returns the correct bar end time on any intraday period.
If you want to replicate, even the example code from the manual doesn't work.
Advice?
Comment