For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 2

C++, why view request can not work for EMA?

OmmConsumer consumer(OmmConsumerConfig().host("********").username("reutersQuoteSource"));

consumer.registerClient(ReqMsg().serviceName("******").name("EUR=")

.payload(ElementList().addUInt(ENAME_VIEW_TYPE, 1)

.addArray(ENAME_VIEW_DATA, OmmArray().fixedWidth(2).addInt(22).addInt(25).complete()).complete()), client);


I limit just 2 fids in OmmArray, but I see the decode with still return all of the fids

elektronrefinitiv-realtimeelektron-sdkrrtema-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

Upvotes
Accepted
25k 87 11 23

Hi @he.wu

It is possible the ADS host you are connecting to does not support Views (OR the server is presently too busy to filter the Fields for you - as it would impact its ability to serve other consumers).

Please check with your Market Data team to confirm if the ADS host you are connecting to supports Views.

You can also enable XmlTrace to see what is happening behind the scenes in terms of requests and response - please see the section on XML Trace in the following article

Enterprise Message API (EMA) - Configuration Overview | Refinitiv Developers


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.