API Support Forum
OEC API > API Support > Data feed down?
Author Topic: Data feed down?
(5 messages, Page 1 of 1)
Moderators: VPfau
JGagnon
Posts: 95
Joined: Apr 11, 2011


Posted: Apr 18, 2013 @ 12:03 PM             Msg. 1 of 5
I haven't received a price change for any of these futures in the past hour and a half:

6EM3
ESM3
NQM3
YMM3

John Gagnon
JGagnon
Posts: 95
Joined: Apr 11, 2011


Posted: Apr 18, 2013 @ 12:05 PM             Msg. 2 of 5
Never mind.

John Gagnon
JGagnon
Posts: 95
Joined: Apr 11, 2011


Posted: Apr 18, 2013 @ 12:11 PM             Msg. 3 of 5
it does look like the server time might be off? I'm still looking into this from my end. This is a snippet of what my code is doing:

private void oecClient1_OnPriceChanged(OEC.API.Contract Contract, OEC.API.Price Price)
{
var contractPrice = contractList.Where(i => i.Symbol == Contract.Symbol);

if (!contractPrice.Any()) return;

string tickTime = Price.LastDateTime.ToLocalTime().ToString("MM/dd/yyyy") + " " + Price.LastDateTime.ToLocalTime().ToString("HH:mm:ss.fff");


John Gagnon
JGagnon
Posts: 95
Joined: Apr 11, 2011


Posted: Apr 18, 2013 @ 02:06 PM             Msg. 4 of 5
It has to be a server side problem

OEC server side date converted to local time vs. local server time of my bar creation:

OEC Time (conv to EST) EST local Server Time Difference in minutes
2013-04-18 10:00:00.000 2013-04-18 09:59:59.720 1
2013-04-18 10:02:39.000 2013-04-18 10:12:31.480 10
2013-04-18 10:04:57.000 2013-04-18 10:17:00.583 13
2013-04-18 10:05:39.000 2013-04-18 10:17:30.800 12
2013-04-18 10:08:00.000 2013-04-18 10:18:36.880 10
2013-04-18 10:10:16.000 2013-04-18 10:19:49.870 9
2013-04-18 10:13:49.000 2013-04-18 10:21:44.000 8
2013-04-18 10:24:27.000 2013-04-18 10:26:15.163 2
2013-04-18 10:26:00.000 2013-04-18 10:27:06.147 1
2013-04-18 10:28:35.000 2013-04-18 10:28:38.213 0
2013-04-18 10:30:14.000 2013-04-18 10:38:57.843 8
2013-04-18 10:30:40.000 2013-04-18 11:56:20.713 86
2013-04-18 10:30:55.000 2013-04-18 13:01:16.850 151


John Gagnon
JGagnon
Posts: 95
Joined: Apr 11, 2011


Posted: Apr 18, 2013 @ 04:17 PM             Msg. 5 of 5
YM is the only one showing accurate time data, all three of 6E, ES, and NQ are more than 5 hours behind.

John Gagnon