API Support Forum
User Profile

Viewing User Profile for: LLloyd


About

Apr 28, 2010 08:29 AM

May 10, 2010 07:52 AM

May 10, 2010 10:58 AM



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

20 most recent posts:

API Support » remoting May 10, 2010 @ 07:52 AM (Total replies: 5)

Hi VictorV

The API Example I am using was downloaded from the examples on your website, in Visual Studio it says the API is v2.0.50727?
and commlib v2.0.50727

I have OEC trader V 3.5.09.

Sandra, please can you kindly point me to the thread which has helped you to resolve your problems??

thanks
Lloyd

Lloyd Hopkins

API Support » remoting May 07, 2010 @ 10:57 AM (Total replies: 5)

Is there any more documentation regarding remoting? I have taken the Basic Example API application and connected it to OEC trader using the following method

OEC.API.OECClient oecClient1 = OEC.API.OECClient.CreateInstance(true);

I can get the connection established as follows

if (oecClient1.RemoteHostingEnabled == true & oecClient1.ConnectionClosed == true)
oecClient1.Connect("sim.openecry.com", 9200, "user", "password", true);

But now I am stuck, I do not seem to be able to reference anything via my oecClient1 handle, just throws exceptions.

I would like to simply route orders into the OEC Trader from an external application. The application I am trying to build will act as an integration point receiving trade signals and submitting them to OEC Trader. Any help or examples would be very much appreciated.
thanks
Lloyd

Lloyd Hopkins