question

Upvotes
Accepted
1 0 0 0

EMA/MarketPrice: How to detect if a RIC's market is in Open/Closed state to determine if quote data is stale stale

Hi!

We are using EMA/MarketPrice. How to detect if a RIC's market is in Open/Closed state to check if quote data is stale stale?

This is important because a bid or ask price/volume is assumed to be valid until modified by the next update message. The last quote's validity is unknown even after hours if we do not know if the RIC's market is closed or not,

Regards,

Yongguang

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-api
icon clock
10 |1500

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

Thank you for your participation in the forum.
Is the reply below satisfactory in resolving your query?
If yes, please click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
-AHS


Hello @ygwtravel,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

1 Answer

· Write an Answer
Upvotes
Accepted
24.7k 54 17 14

Hello @ygwtravel

Please be informed that there is no specific FID that indicates that the market is open. Each Exchange has its own behavior. I strongly suggest you contact the Content support team via https://my.refinitiv.com/ website to help you with the Exchange behavior.


Regarding the stale data, you can check from the Status message (OmmState)

  • DataState represents validity of the Data - i.e. is the Data OK or is it Suspect (e.g. Stale)
  • StreamState represents the state of the actual Data stream i.e. is the Stream still Open or has it been Closed, or is it Snapshot only (NonStreaming). So, for a Stale item you could have StreamState=OK, but DataState=Suspect
  • StatusCode is qualifier which tries to provide a reason for the current State e.g. Source Unknown, NotAuthorized, TimeOut etc.
icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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