I have implemented BarsRequest to load a day of data (it seems it always returns a full day rather than using the specific time stamps, which is explained in doc and OK), and filter out the data I do not need.
I am using barsRequest = new BarsRequest(Instrument, s, e)
and
barsRequest.BarsPeriod = new BarsPeriod { BarsPeriodType = BarsPeriodType.Tick, Value = 1 };
However, I find that is does not return all the days data. For example, I am requesting a 1 tick series from a start datetime to an end datetime. I get the full day. Reported as 57760 bars (from bars.Bars.Count). I wait a few minutes and try the same request again (the mkt is open and 100's if not thousands of ticks have come in during that time), and I still get 57760 bars of data. I wait a bit more, try again, and still get 57760 bars of data... Endtime (e) of each request is set to DateTime.Now, so I'm confused as to why I get the same data returned each time.
I don;t see anything in the docs related to this. Any explanation? Thanks.
Comment