question

Upvotes
Accepted
87 7 13 27

Will the RefreshMsg be returnd the same order I request

hello:

I develop with EMA C++, I have a question shown as follows:

step 1: register quote f:.registerClient( "0001.HK......1000.HK" );

step2: register spread table registerClient( "0001MI.HK......1000MI.HK" );

my question is:will all the quote RefreshMsg returnd before the first spread table RefreshMsg return?

thank you .

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.

1 Answer

· Write an Answer
Upvotes
Accepted
25.3k 87 12 25

Hi @luxiangyuan

When you request multiple items - be it individually or in Batch requests, you can not assume the corresponding RefreshMsgs will arrive in the same order as your requests.

Therefore, in your example above you cannot assume that e.g. the RefreshMsg for <1000.HK> will arrive before the RefreshMsg for <0001MI.HK>

The order of responses is determined by the ADS server you are connecting to and will depend on factors such as availability in cache 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.

thank you very much!

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.