Hi
I downloaded all examples at this site for Reuters EIKON API for .NET. but none
of them works. I tried it at work ( where we have proxy ) and at home ( no proxy ), I also tried with default versions of packages and later updated to latest versions. Still nothing.
An event handler ServicesOnStateChanged is never hit. All I see is black console on simply nothing.
private static void InitializeDataServices(string appName) { Services = DataServices.Instance; Services.StateChanged += ServicesOnStateChanged; Services.Initialize(appName); Console.WriteLine("Data service is initialized? : {0}", Services.IsInitialized); // TRUE - it is Initialized InitializeTimeseries(); } private static void ServicesOnStateChanged(object sender, DataServicesStateChangedEventArgs dataServicesStateChangedEventArgs) { // Never hit :((( Console.WriteLine("State changed: " + dataServicesStateChangedEventArgs.State.ToString()); }
I would like to dare to ask one basic question: I near future, I will have to develop some basic application to store list if RICS and some additional data several times a day. These data are Channel,RIC-name,Bid,Ask,ValueData,ValueTimestamp. For example Channel="IDN" , RIC-name="AUD1B3B20Y=ICAP" .
Am I going to use proper API = Eikon API for it? ( I'm just developer, not business user )
Thank you
Martin
@Martin.Hogenauer is Eikon running when you run the sample app?
Hi Zhenya,
If you mean Eikon App studio, then no. I don't have anything installed on my PC except .NET libraries, which were automatically downloaded using NuGet in Visual Studio.
.NET API is a desktop API and requires Eikon to be installed and initialised in order for you to run any samples or software developed on top of it.
So, in order to get this going you will need to install Eikon (you can get the app here), obtain a set of valid credentials and log in.
I have the same problem but my Eikon is up and running. The problem is that the SDK/API is NOT working when run from within a non WPF application. A console application will NOT work UNLESS you submit any Reuters/Eikon bound API requests via a UI thread. You can get it to work for example like this:
//attempt to initialize service var task = Task.Run(() => { Dispatcher.CurrentDispatcher.BeginInvoke(new Action(() => { _dataServices = DataServices.Instance; _dataServices.StateChanged += DataServicesOnStateChanged; _dataServices.Initialize("ReutersMarketDataPlugin"); })); Dispatcher.Run(); });