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

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

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    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.