API Support Forum
OEC API > Market Data > Charts via API not loading
Author Topic: Charts via API not loading
(8 messages, Page 1 of 1)
Moderators: VPfau
GGiovanni50
Posts: 8
Joined: Jun 09, 2010


Posted: Jan 07, 2013 @ 01:52 PM             Msg. 1 of 8
Today we are unable to retrieve charts via API live and demo. When loading a chart we received the message Unable to retreive history for symbol ESH3. Everything was working fine until last Friday. Other live data (streaming quotes, level II) are okay.
This is the request we use:
OEC.API.Global.RequestBars(contract, endDate, barsAmount, sbType, interval, False).
Any idea what changed?

Giovanni
VPfau
Moderator
Posts: 164
Joined:


Posted: Jan 07, 2013 @ 02:32 PM             Msg. 2 of 8
Hello,
Could you provide username and approx time of requests, please?

Vitaliy Pfau
GGiovanni50
Posts: 8
Joined: Jun 09, 2010


Posted: Jan 07, 2013 @ 02:56 PM             Msg. 3 of 8
You can test any user name for example "GGiovanni fast" (demo) or any other one demo or live. This is with PathFinder Trader platform.

Giovanni
VPfau
Moderator
Posts: 164
Joined:


Posted: Jan 07, 2013 @ 03:30 PM             Msg. 4 of 8
Could you provide some more information, please?
- What API.dll do you use? You can find that on details tab at API.dll Properties dialog.
- What parameters values do you send?

Vitaliy Pfau
VPfau
Moderator
Posts: 164
Joined:


Posted: Jan 07, 2013 @ 03:31 PM             Msg. 5 of 8
It looks strange for me. Our platform does not return "Unable to retreive history for symbol" message.

Vitaliy Pfau
GGiovanni50
Posts: 8
Joined: Jun 09, 2010


Posted: Jan 07, 2013 @ 04:28 PM             Msg. 6 of 8
we use version 3.5.0.0 API.dll
the parameters we send are cntr, StartDate, EndDate, OecBarType, BarInterval
everything was working fine until last Friday... did you make any changes?

Giovanni
VPfau
Moderator
Posts: 164
Joined:


Posted: Jan 07, 2013 @ 05:41 PM             Msg. 7 of 8
We fixed loading by amount function.
Please, let me know if you have any question.

Vitaliy Pfau
GGiovanni50
Posts: 8
Joined: Jun 09, 2010


Posted: Jan 07, 2013 @ 06:17 PM             Msg. 8 of 8
Great, I confirm it works again now.

Giovanni