question

Upvotes
Accepted
7 1 1 3

When do we use update message processing by EMA?

Currently, we manufacture using EMA.
When connecting to Reuters, data can be acquired via refresh message processing.
However, the sample code describes update message processing and status message processing.
When do we use update message processing?
Also, among the three message processing, Reuters is deciding which process to execute?

I recognize that I do not know what kind of message processing to pass.

Thanks.

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apic++
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.

1 Answer

Upvotes
Accepted
9.7k 49 38 60

Hi @hiroyuki.endo,

The Thomson Reuters Market Data System you connect into offers real time market data. That is, when there are changes in the market, such as trades and quotes, you have the option of registering interest in receiving these changes. The changes come through as updates. If you are interested in receiving updates, you register your market data item as a streaming request within the API. When you register interest in receiving streaming updates, you will always receive a refresh message, followed by zero or more update messages. Alternatively, you can decide to not receive updates by registering your market data item as a non-streaming request. In this scenario, you will only receive a refresh, or what is commonly referred to as a snapshot.

The default behavior within the API is to receive streaming updates.

Regarding the three message processing callbacks:

  • onRefreshMsg()

This callback will be invoked when you request for a valid streaming or non-streaming market data item.

  • onUpdateMsg()

This callback will be called when you request for a valid streaming market data item and that item updates in real time.

  • onStatusMsg()

This callback will be called when there are general status events related to your consumer item registration. For example, if you request for an invalid market data item, you will be notified here that your item requested is invalid.

Refer to the series of tutorials offered within the Elektron API for a walkthrough of how the API works.

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.

@nick.zincone.1

Thank you for your comment.

I understood the movement of these processes.

Click below to post an Idea Post Idea