Announcement

Collapse
No announcement yet.

Premature OnBarsReceived event

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Premature OnBarsReceived event

    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.

  • #2
    I see the same problem. Certainly only another straw on the camel's back. I've had to develop a stand alone server just to deal with these kind of problems found interfacing with the C++ desktop api. This is definitely the industry standard hardest-to-deal-with api, in my experience.

    Comment


    • #3
      Yes, I have this issue too. Given the previously mentioned problems with releaseHistory, this is even more troublesome.

      T32.

      Comment

      Working...
      X