Announcement

Collapse
No announcement yet.

RequestTimeSales - Indicator for History loaded

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

  • RequestTimeSales - Indicator for History loaded

    Hi,

    I'm using RequestTimeSales(pFilter). I want to load Tics from History (3 days).
    My problem: I have to process the Tics in sequence from the past to now.
    So I have to wait till the loading of history data is completed.
    I tried to use "eSignal.GetNumTimeSalesRtBars(lHandle) = 0" as an indcator.
    But "eSignal.GetNumTimeSalestBars(lHandle)" is still increasing.

    Question: Is there an Indicator for "Loading of History is finished" ?

    Thanks Gereon

  • #2
    You can take a look at the Time And Sales in VB.zip sample at:



    You can use the esignal.IsTimeSalesReady(lHandle) call to determine if historical T&S data is done downloading.

    Comment


    • #3
      The only way to do this is wait until the number of history ticks has stabilized and doesn't change. The API doesn't tell you.

      Comment

      Working...
      X