question

Upvotes
Accepted
3 0 0 2

Difference between RefreshMsg and StatusMsg

In our application, we got only RefreshMsg as below at a certain time.
Refresh message (unspecified type), stream open, data suspect, status code None

After that we started to receive StatusMsg as below.
Status message, stream closed, data suspect, status code NotFound

What are the difference between RefreshMsg and StatusMsg ?
When should we expect StatusMsg and when should we expect RefreshMsg to get information about the status of data ?
Can we consider that both of above message are same in regards of he information "data suspect" ?

After receiving above RefreshMsg, should we consider data is completely suspect ? Or can we use existing data for the corresponding instrument?

Thanks in advance.


rfaOMM
icon clock
10 |1500

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

Upvotes
Accepted
23k 22 9 14

Hello @Ramazan ,

The two are similar:

  • Both are possible initial responses when subscribing to a RIC.
  • Both are not ok, and depending on your requirements can to be reported to the business tier/user/log/etc.

However, they differ:

  • Status = stream closed and instrument not found, is final. It will not change.
  • Refresh = stream opened and data suspect is intermittent. As long as the stream remains open, the infra is being recovered and one this happens, will receive further updates, status, whichever is applicable. If SingleOpen is in place, which is default.

Please find the details on Item Refresh Responses and Processing Status Response Messages in RFA Java Developers Guide if you are in Java or in the analogous sections in RFA C++ Developer Guide.

Hope this information helps

icon clock
10 |1500

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

Upvote
11.5k 16 7 10

Hello @Ramazan

While my colleague @zoya faberov answer already has a clear detail of the difference between the Refresh and Status messages, you can find additional details from the 10 important things you need to know before you write a Refinitiv Real-Time application article (please check "Image" and "Status Event" sections).

icon clock
10 |1500

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

Click below to post an Idea Post Idea