Announcement

Collapse
No announcement yet.

GetRequestHistory only returns 1 valid bar

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

  • GetRequestHistory only returns 1 valid bar

    I'm making this call GetRequestHistory( "zw z8", "1", btBARS, 360, -1, -1).

    Which generates 2 OnBarsRecieved() events, the first with numbars = 13432, but all calls to GetGetBar() give an invalid time of 0. Then next OnBarsRecieved() event reports 360 bars but only the last has a date other that 0.

    Any ideas?

    thx

  • #2
    Ah, I figured it out. I was passing a positive number to GetGetBar() instead of the counterintuitive negative.

    Comment

    Working...
    X