Hi,
I need consultation. I have some questions about esignal desktop API. I have searched through forum and have found the same questions. But couldn't find answers on them.
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 quotes).
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" (I want to get ask, bid, prev and time for each tick during that time). What should I pass to the
RequestHistory(...):
symbol="eur a0-fx"
interval = ??????? (May be "999P" (I want to get all ticks)
bar_type = ??????
number_of_bars=???
start_time=780
end_time=840 (but these values were calculated for my local time zone. How can I find out server time zone?)
Thanks...
I need consultation. I have some questions about esignal desktop API. I have searched through forum and have found the same questions. But couldn't find answers on them.
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 quotes).
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" (I want to get ask, bid, prev and time for each tick during that time). What should I pass to the
RequestHistory(...):
symbol="eur a0-fx"
interval = ??????? (May be "999P" (I want to get all ticks)
bar_type = ??????
number_of_bars=???
start_time=780
end_time=840 (but these values were calculated for my local time zone. How can I find out server time zone?)
Thanks...
Comment