This isn't a huge problem, but it is a little irksome.
I call RequestHistory (C++ app) and I am getting an OnBarsReceived event triggered for the history before the RequestHistory returns. Meaning, I don't yet have the history handle I need to know for which set of data the OnBarsReceived event is firing. I have matched up handles, etc. and am positive that these aren't for previously unreleased history requests.
BTW, as you would expect, this only occurs when the data is already in the cache. But, isn't that what the IsHistoryReady() function is for?
Using the 7.5 beta build 621.
I call RequestHistory (C++ app) and I am getting an OnBarsReceived event triggered for the history before the RequestHistory returns. Meaning, I don't yet have the history handle I need to know for which set of data the OnBarsReceived event is firing. I have matched up handles, etc. and am positive that these aren't for previously unreleased history requests.
BTW, as you would expect, this only occurs when the data is already in the cache. But, isn't that what the IsHistoryReady() function is for?
Using the 7.5 beta build 621.
Comment