Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
Question by andrew.richardson · May 18, 2020 at 02:23 PM · elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apijavaunregister

(JAVA) Does using interestAfterRefresh(false) remove the need for deregistering items with Elektron?

Hello,

I just have a quick question regarding interestAfterRefresh. Our application at times may be registering many RICs with elektron at once, and it could potentially hit our elektron license cap. By using:

consumer.registerClient(reqMsg.serviceName("DIRECT_FEED").name("IBM.N").interestAfterRefresh(false), appClient);

Does this remove our need to unregister RICs manually? Also documentation states that a response may come in the form of one or more messages, if it does unregister automatically, can we assume it will be after all messages have been sent?

Thanks!

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.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by umer.nalla · May 18, 2020 at 02:37 PM

Hi @andrew.richardson

InterestAfterRefresh(false) specifies that you want to make a Snapshot i.e non-streaming request.

So, if the instrument you request is a valid one (and you are permissioned for it), you should get a RefreshMsg for that instrument and the API will automatically unregister and close the stream for that instrument - you will not receive any Updates.
If the server is not able to supply the RIC - e.g. it is invalid or you are not permissioned for it - then you will get a StatusMsg indicating this and the stream will be closed also.

If you want streaming data i.e. a Refresh, followed by updates then you need to set InterestAfterRefresh(True) - which is the default mode - and so does not need to be explicitly specified.

A MarketPrice request (the default) will provide all data in a single RefreshMsg.

For other domains such as MarketByPrice, you can expect to receive Multiple Refresh - with the final one having the completion flag set.

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
andrew.richardson · May 18, 2020 at 03:17 PM 0
Share

Thank you very much, this answered our question perfectly.

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

Related Questions

How to speed up the response to a large number of RIC codes?

Vector on EMA

EMA - How do I reset view to get all fields?

Do we need unregister process?

Timestamp delay between EMA Java based App and rmdstestclient when subscribing the same universe.

  • 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