Announcement

Collapse
No announcement yet.

Esginal 80 GetHistory no longer get current day Real time quote

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

  • Esginal 80 GetHistory no longer get current day Real time quote

    with ES78, every time a trade happend, GetHistory() will fire a onBarChanged event, after I updagrade to ES80, I can no longer get onBarsChanged event, quite strange. I did recompile my code with the new type library file, still no luck.
    Any help will be highly appreciated.

  • #2
    Hi redmike,

    Does ES80 refer to eSignal 8.0? If so, we'll run our sample against that version inhouse and see if we can replicate your issue.

    Thanks,
    Starr
    eSignal Developer Support

    Comment


    • #3
      Yes, ES80 refer to ESignal version 8.0.
      I tried symbol PD=N, it just could not get the current day bar in market hours.

      Comment


      • #4
        Could you post your requestHistory code fragment.

        I'm not sure if this would help, but
        If I remember correctly, within the last few versions I had to change

        // not sure of the syntax
        requestHistory(symbol, bartype, numbars, -1, -1)

        to

        requestHistory(symbol, bartype, numbars, 0, 0)

        or something similar

        Comment


        • #5
          Hi,

          Thank you for your reply.

          The code basiclly is taken out from C++ examples.
          It requestHistory for 15 minutes bars and for ONE day.
          The symbol is PD=N.

          I usually started up my program after market open.
          Yesterday I started it around 6:20 (pacific time).
          ALl of the sudden there is no quote comes in.

          Today I started it 6:10, same problem, but I restarted it 6:50.
          Lo and behold, everything back to normal.

          Well ,any explanation will be highly appreciated.

          Comment


          • #6
            If you are looking for updates before the market, then LTANESIGNAL is correct. You need to change the parameters fo your request from -1, -1 to 0,0. -1, -1 requests data from the official open to the official close. 0,0 gives you 24 hour updates.

            Thanks,
            Starr
            eSignal Developer Support

            Comment

            Working...
            X