Announcement

Collapse
No announcement yet.

RequestSymbol() - caching of requests

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

  • RequestSymbol() - caching of requests

    When I make a 'Real-Time' quote request with RequestSymbol(), using both the VB 6 example entitled "vb sample.zip Sample VB Code " (found in the eSignal File Sharing section of the supportsite) and a version built with Visual Studio 2005 (using c#), it seems that when I load the applications, the application is already getting price updates even before I click the button which initiates the request. The applicaiton is getting updates for a symbol is requested the last time is was running. Is there some sort of cache?

    I am also calling the following functions when I load by application is hopes of clearing the active request(s):

    _eSignal.ReleaseAllHistory();
    _eSignal.ReleaseAllTimeSales();
    _eSignal.ClearSymbolCache();
    _eSignal.ReleaseSymbol(_eSignal.GetCurrentLinkingS ymbol);

    but the the previous request (from running the application previously) still lingers and when I try to make another request, the applications so no signs of responding.

    Any ideas?

  • #2
    When your application exits, you should make sure that you call ReleaseSymbol for all symbols you have called RequestSymbol on.

    Anthony
    eSignal Developer Support

    Comment


    • #3
      Is there a way to do a realease for all active connections/requests?

      Or what about resetting the Data Manager?

      I would like to avoid having to release each symbol each time.

      Comment


      • #4
        You can clear the DM cache with ClearSymbolCache

        Comment

        Working...
        X