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 kelvinyoung048 · Jul 27, 2016 at 08:39 PM · emaelektron

EMA consumer handling of messages with StreamState ==ommstate.ClosedRecover

What is the difference between StreamState ==ommstate.Closed and StreamState ==ommstate.ClosedRecover?

How should an EMA consumer handle a MarketPrice Refresh or MarketPrice Status message received with the state component publishing StreamState ==ommstate.ClosedRecover?

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 warat.boonyanit · Jul 28, 2016 at 08:15 AM

ommstate.Closed means data is not available and is not likely to become available.

An example for Closed state is when you request invalid name. Data will not be available unless you change the name.

ommstate.ClosedRecover means data is currently not available but can be recovered at a later time.

By default, an EMA consumer should never received this status because TREP will attempt to recover data on EMA’s behalf.

To received closed recover status, EMA consumer must override the default login request by using the OmmConsumerConfig.addAdminMsg().

And If you wish to handle it, then you could just treat it as a closed status but EMA consumer can attempt to re-request at a later time using the same request message.

Comment

People who like this

0 Show 2 · 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
kelvinyoung048 · Sep 27, 2016 at 02:18 AM 0
Share

Thanks!

what config in login msg will override the default behavior and allow reception of ClosedRecover into the application? Is it SingleOpen = 0?

avatar image
REFINITIV
warat.boonyanit ♦♦ kelvinyoung048 · Sep 27, 2016 at 02:46 AM 1
Share

Yes, it is SingleOpen. But I advise against turning SingleOpen off. It usually better to let TREP recover the data.

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

Is OnStatusMsg is sufficient for handling Connection State, State of Item and other states related to data retrieval using EMA?

Elektron - Get TRNA data

What could be reason of receiving STATE like [Open / Suspect / None / 'Request timeout'] Using EMA?

Connection to Elektron API and its testing is close to completion. Do you have any conformance requiement?

Where can I find sample EMA C++ MRN code for Elektron API 3.1? not in the Elektron-SDK1.1.0.win_0 100-440 examples.

  • 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