question

Upvotes
Accepted
3 0 0 2

Question about Market Feed message header

When I compared the MarketFeed data recorded from two servers for some analysis. I found the header of the same message could look different sometimes. For example:

# From server A #
<FS>340<US>XX<GS>ITC.BO<US>7406<US>0<RS>
# From server B #
<FS>340<US>XX<GS>ITC.BO<US>7406<US>1<RS>

I expect the data to be completely identical so the difference worries me. May I know what <US>0<RS> and <US>1<RS> mean in the example above?

treprfarfa-apimarket-feed
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
3 0 0 2

The tags were gone in the original question. I've attached a picture that shows the tags.

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
38.1k 71 35 53

From Marketfeed Reference Manual, it is Record Transaction Level (RTL).

RTL is an optional field which is not always present. This field is sometimes used to detect message loss and duplication. However, the way it is used depends on the original data source. In general, sink applications cannot rely on the value without understand exactly how the source uses it.

Publishing applications should include this field, but do not have to set a value. A null value is valid and can be provided by sending the <US> separator without any value following it; e.g.: <FS>FUNCTION<US>TAG<GS>RIC<US>FIELD_LIST_NO<US><RS>

In conclusion, you can ignore its value.


record-response.png (18.2 KiB)
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