Author |
Topic: Can't connect sim.openecry.com (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
AKudryavcev Posts: 2 Joined: Mar 09, 2011 |
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 |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
what kind of applications do you use: console or winforms? Victor Vins Software Developer |
||||
AKudryavcev Posts: 2 Joined: Mar 09, 2011 |
i'm trying both but get same result
Anton Kudryavcev |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
you can use our samples as a template. Victor Vins Software Developer |
||||