===
DateTime toDate = DateTime.Now;
DateTime fromDate = toDate.AddDays(-30);
var barsRequest = new BarsRequest(Instrument, fromDate, toDate);
barsRequest.BarsPeriod = new BarsPeriod {
BarsPeriodType = BarsPeriodType.Minute,
Value = 30,
};
barsRequest.TradingHours = TradingHours.Get("CME US Index Futures RTH");
barsRequest.Request(....
===
I've noticed that the results of that request can return inaccurate and missing bars. If I setup a chart with a matching dataseries and run reload historical data on that chart, the next BarsRequest in the addon returns accurate bars. Is there a way to handle this from the addon so I do not have to reload historical data from a chart?
Thanks
Jimmy

Comment