API Support Forum
User Profile

Viewing User Profile for: AKudryavcev


About

Mar 09, 2011 08:57 AM

Mar 10, 2011 02:27 AM

Mar 10, 2011 02:27 AM



Post Statistics
AKudryavcev has contributed to 2 posts out of 5677 total posts (0.04%) in 5006 days (0.00 posts per day).

20 most recent posts:

API Support » Can't connect sim.openecry.com Mar 10, 2011 @ 02:27 AM (Total replies: 3)

i'm trying both but get same result

Anton Kudryavcev

API Support » Can't connect sim.openecry.com Mar 09, 2011 @ 10:35 AM (Total replies: 3)

Hello!

Can't connect to sim.openecry.com by this code:

_client = new OECClient();
_client.OnPriceChanged += new OnPriceChangedEvent(_client_OnPriceChanged);
_client.OnPriceTick += new OnPriceChangedEvent(_client_OnPriceTick);
_client.OnLoginFailed += new OnLoginFailedEvent(_client_OnLoginFailed);
_client.OnContractsChanged += new OnContractsChangedEvent(_client_OnContractsChanged);
_client.OnLoginComplete += new OnLoginCompleteEvent(_client_OnLoginComplete);
_client.OnDisconnected += new OnDisconnectedEvent(_client_OnDisconnected);
_client.OnTicksReceived += new OnTicksReceivedEvent(_client_OnTicksReceived);
_client.OnSymbolLookupReceived += new OnSymbolLookupEvent(_client_OnSymbolLookupReceived);
_client.OnError += new OnErrorEvent(_client_OnError);
_client.Connect("sim.openecry.com", 9200, "******", "******", true);

No events raised
What am I doing wrong?

Anton Kudryavcev