Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by alexandros.pantalis · May 16, 2018 at 10:57 AM · subscription.net real-time data api

.NET Realtime API subscription doesn't always send me notification at news release

Hello,

So the .NET Realtime API subscriptions to economic indicators are working now (btw I am very satisfied by the data retrieval's execution time and thanks again for your great help!!).

However, in some cases I don't get the notification at the moment the data comes out! When that happens, I have to recompile my code on Visual Studio in order to get the latest info. This makes me miss some trades, as I seem be randomly not getting data sometimes (while there is nothing wrong with the code since when I recompile, all other things being equal, I get the new data I was expecting).

Any ideas why this is happening ???

Thanks a lot!!

-----

Thank you for your answer:

- By notification I mean the moment when the API detects there is a news release through DataReceivedCallback and should display it (but sometimes does not).

- Console

- Yes, in my code I got:

private static void InitializeDataServices(string appName)

{

Services = DataServices.Instance;

Services.StateChanged += ServicesOnStateChanged;

Services.Initialize(appName);

}

But the thing I do not understand is that it always works except for some random exceptions: the app is running in the console (subscription waiting for data release) and sometimes the data is published on Eikon but does not appear in my console, actually nothing happens in my console in these cases. When this happens, if I relaunch the app in the console, I get the data. So I assume this must be some issue with the subscription ?

Thanks!

People who like this

0 Show 1
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 ♦♦ · May 16, 2018 at 12:19 PM 0
Share

Could you please provide some more information on this?

  • What do you mean by notification? Do you not get the callback for your DataReceived event?
  • What is the environment in which you are running your app? e.g. console app, winforms application, etc;
  • Do you listen to DataServices.Instance.StateChanged event?

2 Replies

  • Sort: 
avatar image
Best Answer
Answer by alexandros.pantalis · May 30, 2018 at 07:47 PM

Hello,

So after a consequent debugging time, we arrived to the conclusion that the .NET API is not suited (at least in my case) for multiple simultaneous economic indicators' data retrieval. In the end I managed to always get the data at news release but the rest of my code wasn't correctly implemented. This problem ONLY occured when the code was running at news release: when ran before or after (but not during), it worked perfectly. There must be some technicality in the API's architecture that makes it unfit for my activity.

In consequence, I switched to the COM API (using VBN) and now everything seems to work just fine all the time.

I really want to thank you and the team again for all the help you have provided me with, truly appreciate it!!!

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.

avatar image
REFINITIV
Answer by Zhenya Kovalyov · May 16, 2018 at 01:06 PM

I need to see the code of your app before coming to a conclusion. I will send you an email.

Comment
alexandros.pantalis

People who like this

1 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

What is the fastest API for retrieving data and performing trade operations based on it ?

I wanted to know if there's a way to get real time/streaming news data through the Eikon API.

What version of Eikon (Core, Research and Advisory, Premium) do you need to use the Python Data APIs?

Can't perform mathematical operations on data obtained from .NET Real-time data API in Visual Studio

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