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 COM /
avatar image
Question by guzhaowei007 · Nov 05, 2018 at 01:41 AM · eikoneikon-com-api

The func OnStatusChange called when the data stream recovery but not the real time.

It looks like that the func OnStatusChange not work real time.

I need to get a notify when the link disconnect or the data source status changed.

However i always get the notify when it recovery.

I add my func notify as follow.

void OnStatusChanged(EEikonStatus a_eStatus) {

if (a_eStatus != Connected)

Notify(...);

}

People who like this

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

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Alex Putkov.1 · Nov 05, 2018 at 10:38 AM

@guzhaowei007
I'm not sure I understand the scenario you're describing or what you'd like to achieve. Would you mind elaborating? A detailed description of your scenario and what you'd like to achieve would be most helpful. It's also not quite clear what libraries you use.
In the meantime if you're looking for an explanation for when OnStatusChanged event is raised by EikonDesktopDataAPI COM object, please see the section describing EEikonStatus enum in the following document:
https://developers.thomsonreuters.com/eikon-com/eikon-desktop-data-api/docs?content=786&type=documentation_item

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
guzhaowei007 · Nov 08, 2018 at 08:49 PM 0
Share

Thank you for your reply.

I implement my C++ project base on the Realtime example (AdfinXRt) .

And I tried Inherit class IAdxRtListEventListener to get source status via the func OnStatusChange().

In my understanding, this func will be called as soon as the data source change .However, I find it always be called when the date source recovery. It means that when the data source status change to RT_SOURCE_DOWN, I can not get it real time. But when the data source recovery, the API tell me it has been down. I'd like to know what should I do to get the state changes in realtime.

avatar image
REFINITIV
Answer by Alex Putkov.1 · Nov 15, 2018 at 08:36 PM

@guzhaowei007
I assume you're using Eikon Hosted account over the Internet, as I have reproduced the issue as you described it only when I connect to Eikon platform over the Internet. When I connect to local real-time market data infrastructure known as TREP, I do see AdxRtList object raising OnStatusChange event and reporting the source status as RT_SOURCE_DOWN upon disconnect from the network. When Eikon is configured to retrieve real-time market data from local TREP it is important to monitor both the connection to Eikon platform and the connectivity to local TREP. In case of Eikon Hosted account over the Internet all data is retrieved over the same connection, hence you can use the OnStatusChanged event of EikonDesktopDataAPI object, which in my testing is being raised as expected when the network is disconnected.
The issue you experienced is a deficiency, however it's unlikely to be addressed because Eikon COM APIs are in care & maintenance and only most critical bugs can be considered at this point. For this reason the workaround I described above is probably the best you can do.

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 >
9 People are following this question.

Related Questions

RDATA batch request with individual Sdate parameters

Excel API: formula builder - retreive data from local server

VBA AdfinX Real Time Error Message ERROR #360f

ERROR 20019: internal server error

Eikon .Net API - Multiple time series subscriptions are causing problems

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • 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
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges