API Support Forum
OEC API > API Support > Unable to connect to sim.openecry.com using 3.5 version of the API.
Author Topic: Unable to connect to sim.openecry.com using 3.5 version of the API.
(4 messages, Page 1 of 1)
Moderators: VPfau
JGronemus87
Posts: 14
Joined: Nov 28, 2007


Posted: Aug 19, 2010 @ 11:27 AM             Msg. 1 of 4
Hello,

I am unable to connect to the OEC server "sim.openecry.com" using API 3.5. The only event that fires is the OnDisconnected event with Unexpected set to true.

Using the exact same source code and credentials, I am able to connect using API 3.4.

What am I doing wrong?

John
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Aug 24, 2010 @ 12:41 PM             Msg. 2 of 4
Hello,

could you please specify date/time of the issue with connecting?

Victor Vins
Software Developer
WWayne
Posts: 1
Joined: Aug 31, 2010


Posted: Sep 04, 2010 @ 06:27 PM             Msg. 3 of 4
Hi JGronemus,

At my end there's no issue with connecting to the sim.openecry.com server direct with the API. It seems to run fine. I thought there was an issue on first login. It took over three minutes for the data to start flowing.

The problem I found is connecting the tsOECDataFeed.dll in OwnData's "DataManager". TSSupport supplies dlls for 18 data sources. I've tested many that connect well (i.e. IQFeed, eSignal, IB, Tradestation, etc.) for feeding to external charting software. OEC data will not connect for some reason. If it wasn't intended to TSSupport would not have written it. So perhpas it's me or an incorrect or additional login in requirement.

The Owndata settings menu prompts for the "Authority" login & password to connect to sim.openecry.com or prod.openecry.com

When this user enters the login and password provided to me I can see in the event log no connection is made. It's been a real pain in the neck. So close and yet so far. Love the OEC Trader platform but flowing the OEC data through to external charting is an issue.

Hey, if any forum readers have a suggestion please post it. Thanks

Wayne Beek
KKuzma96
Posts: 1
Joined: Nov 19, 2010


Posted: Nov 19, 2010 @ 10:21 AM             Msg. 4 of 4
Hi All!

On changing OECAPICOM to 3.5 version I've got the same trouble: application do not connect to sim.openecry.com and in the same time - connect to api.openecry.com.

And when programm try to connect to sim.openecry.com it just close itself in 3-5sec after fClient.Connect1 command.

I'm programming in Delphi 2007. In debuging process I see that when fClient.Connect1 have valid UserName and password it drop error "access violation at 0x77b699ae: write of address 0x00030ea0" stoping in CPU window in function RtlUnwind. No events appears. But when I enter wrong UserName or password it works correctly: OnLoginFailed and OnDisconnect works.

And: when I connect to api.openecry.com I have no errors and all events works correctly.

What I have to do in programm to use sim-server correctly.?.

Kuzma Shkaranda