Announcement

Collapse
No announcement yet.

Requesting Historical Tick Data for Instrument

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

  • Requesting Historical Tick Data for Instrument

    Hi all,

    I am developing an application using C# on VS 2005 and I am following the exact sequence of steps posted here:
    http://forum.esignalcentral.com/show...questTimeSales

    After invoking:
    esignal.get_RequestTimeSales(ref tickTask.filter);

    for "EUR A0-FX" for 2 days tick data


    I am starting to receive the esignal_OnTimeSalesChanged event, but when I try to extract the numbers of received bars using:
    int lNumRtBars = esignal.get_GetNumTimeSalesRtBars(lHandle);
    int lNumBars = esignal.get_GetNumTimeSalesBars(lHandle);

    I keep getting zeroes for both variables. The actual code:

    int lNumRtBars = esignal.get_GetNumTimeSalesRtBars(lHandle);
    int lNumBars = esignal.get_GetNumTimeSalesBars(lHandle);
    Log("INVOKE: OnTimeSalesChanged(" + lHandle + ") "+lNumRtBars+"/"+lNumBars);
    if (0 == lNumRtBars)
    {
    return;
    }

    No matter how long I wait for the process to finish I just keep getting zeroes for number of bars, and no data at all. Am I missing something obvious here?
    regards
    Plamen Vassilev
Working...
X