Announcement

Collapse
No announcement yet.

Howto figure out, that I requested historical data for an invalid symbol?

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

  • Howto figure out, that I requested historical data for an invalid symbol?

    Hi,

    There seems to be no way to figure out if a symbol name is valid.

    On requesting historical data for an invalid symbol, none of the appropriate callbacks (OnBarReceived, OnBarChanged) is called.

    Is there any other callback called ? What's the recommended way to figure out that I just requested historical data for an invalid symbol ?

    Regards
    Dierk Droth
    www.trademagic.net
    TradeMagic - Trading at its best

  • #2
    I haven't tried it myself yet, but there is a new function called IsValidSymbol. I believe you need at least the 7.7 release candidate for it, but I don't recall when exactly it was added.

    Comment


    • #3
      Genspoo is correct. If it is not in there now, it will be in the version that is out later this week.

      Comment


      • #4
        Thanks. I'll give it a try.
        Dierk Droth
        www.trademagic.net
        TradeMagic - Trading at its best

        Comment

        Working...
        X