API Support Forum
OEC API > API Support > API login seems to give only historical bars up to last week
Author Topic: API login seems to give only historical bars up to last week
(3 messages, Page 1 of 1)
Moderators: VPfau
JCarey1693
Posts: 5
Joined: Oct 27, 2015


Posted: Sep 20, 2016 @ 03:00 AM             Msg. 1 of 3
Hi,

I'm running an example based on the docs, and I'm calling for historical bars for ES and the API only seems to return data as recent as 9/16.

The call I'm making:

oecapi.SubscribeBars(contracts.First, DateTime.UtcNow.AddDays(-4), OEC.Data.SubscriptionType.Bar, 10);

If I use .AddDays(-3), or -2, or -1, or now, it returns zero bars.

I also noticed tonight that when I ran the advanced example exe, it returned no data there either (I didn't compile it -- I ran the exe from the site)

My login does seem to work.

Any idea?

John
John Carey
CMicciche902
Posts: 229
Joined:


Posted: Sep 20, 2016 @ 08:49 AM             Msg. 2 of 3
See post https://apisupport.gainfutures.com/Topic/Index/1098. We have another re-occurrence where some exchanges not quoting in our Developer Environment.

Only COMEX and NYMEX are currently quoting in the Developer environment. The other exchanges are temporarily unavailable and we are working to get them online again. Try using Crude Oil (GCL), Gold (GGC), or Silver (GSI) in the meantime.
Chris M
CMicciche902
Posts: 229
Joined:


Posted: Sep 22, 2016 @ 08:38 AM             Msg. 3 of 3
The issue has been resolved. All exchanges are now providing real-time data.
Chris M