Author |
Topic: Tick's Timing (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
JWeissbard91 Posts: 21 Joined: Dec 18, 2007 |
Hi,
I seem to be getting Ticks out of order at some points. I get a string of Ticks and the I get a wide price jump. When I look at the timestamp it seems to be out of order. Is this a possibility? Is there a reason for this? Right now I'm filtering these out, but I'm wondering if there's a better way to deal with it. Thanks, Jonathan Weissbard |
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
when network connection between OEC API and OEC Price Server is broken, api automatically reconnects and re-executes all historical requests, so all ticks starting from StartDate parameter of SubscribeTicks method are resent.
You can use future StartDate for subscription to avoid historical ticks and receive only new tick updates. |
||||
JWeissbard91 Posts: 21 Joined: Dec 18, 2007 |
Hi,
I use a StartDate of Now() and I don't think I'm getting disconnects, any other possibilities? Thanks, Jonathan Weissbard |
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
please try to use UtcNow.
If problem persists, please specify time of incident, what username you've used and what server you were connected to, so we can investigate the problem better. |
||||