Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • App Studio /
avatar image
Question by Martin.Hogenauer · Jan 05, 2017 at 04:12 AM · eikon-sdk.netconnectionstate

Eikon .NET API in downloadable examples doesn't work

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

People who like this

0 Show 2
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Zhenya Kovalyov ♦♦ · Jan 05, 2017 at 04:20 AM 0
Share

@Martin.Hogenauer is Eikon running when you run the sample app?

avatar image
Martin.Hogenauer Zhenya Kovalyov ♦♦ · Jan 05, 2017 at 04:31 AM 0
Share

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.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Zhenya Kovalyov · Jan 05, 2017 at 04:38 AM

.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.

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Martin.Hogenauer · Jan 05, 2017 at 04:39 AM 0
Share

thank you, it is clear now.

avatar image
Answer by HFTVOL · Feb 02, 2017 at 02:59 AM

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();
            });
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

Eikon Developer toolbar in Visual Studio doesn't respond to events

How to get market depth for NYMEX products?

JET open QuoteList with template

Is there a JET Field that indicates if a RIC's data is delayed or real time?

How do you send custom fields between 2 apps when side by side in Eikon?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges