Announcement

Collapse
No announcement yet.

getting history

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

  • getting history

    I've already sent (to your technical support) and posted
    (in the Desktop Api forum) a question about getting history data:

    Sometimes I have a problem with connection to the Internet. At that time I
    can't get quotes
    and save it. But when I restored connection, I want to get lost quotes. I
    know that I should use the method RequestHistory(...). But I can't
    understand what parameters I should pass to it.
    For example:
    I have a subscription on GTIS (forex inter-bank market).
    Suppose that now is 06/23/2004 01:00:00 PM. And I've lost connection with the
    Internet. Then
    for example at 02:00:00 PM I've restore connection and want to get lost
    quotes for symbol "eur a0-fx" (for 1 hour). What should I pass to the
    RequestHistory(...):
    symbol="eur a0-fx"
    interval = ??????? //(May be "999P" (I want to get all changes of symbol))
    bar_type = ??????
    number_of_bars=???
    start_time=780 //(but this values calculated for my local time zone
    end_time=840 //(how can I find out server time zone? It's the second question)

    I tried to get tick data using sample DesktopAPI on VC++, but I couldn't to do
    it. Sometimes sample didn't respond on any interaction, sometimes I got data
    (lowPrice, highPrice, close) but bidPrice and askPrice were equal zero. (I set up param interval in
    different values: 1S, 1T, T1, S1, T, but result was the same).
    The second problem - that <starttime> and <endtime> don't work properly.
    I attempted to set different time period (for btBars) but example tried to get
    data for all day.

    Recently I've found out that many bugs fixed in version 7.7. I updated it.
    But result the same I can't to get ticks history (after about ten minutes it
    cease to respond).

    As I could see I'm not alone. I've paid money to use API but I couldn't.
    How can you explain such situation? I have sent many letters on email
    [email protected]
    which I found in documentation. But I haven't gotten any answers
    on my questions. To say that your support service works badly - the same that
    nothing to say.

  • #2
    I'm a developer like yourself, not an eSignal person.

    First you will need the 7.7 release Robi posted back around 7/18 to get history requests successfully. The build date is 7/15. Unfortunately it looks like this link has been broken, so you might have to wait for an official release.

    Secondly apparently the RequestHistory() start/end times are actually DATES. For my own use the "-1" values are used, and then process what is needed from everything. Just toss what you don't want.

    I have not yet attempted T&S data, am looking at 5 minute data.

    -Jim

    Comment

    Working...
    X