question

Upvotes
Accepted
3 0 0 3

Elektron SDK Java - Example of Index constituent retrieval

Could anyone please provide an example of how to retrieve the index constituents, BEL20 for instance, using Elektron API?

elektronrefinitiv-realtimeelektron-sdkindex
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
Accepted
38.1k 71 35 53

I think a RIC for BEL20 index is 0#.BFX. You can use this RIC with the consumer.series200.example270_SymbolList example in the EMA Java package. You need to modify the code in the main function.

consumer = EmaFactory.createOmmConsumer(EmaFactory.createOmmConsumerConfig().host("ipaddress:14002").username("user")); 

consumer.registerClient(EmaFactory.createReqMsg().domainType(EmaRdm.MMT_SYMBOL_LIST).serviceName("ELEKTRON_DD").name("0#.BFX"), appClient, 0); <br>

Please change the following information in the code:

  • change ipaddress to the hostname or IP address of your Elektron feed or ADS
  • change user to the valid username to connect to the server
  • change ELEKTRON_DD to the Elektron service provided by the server

The output looks like:

For other indices, you can contact the Helpdesk support mentioned by Nick for valid RICs.


symbollist.png (46.4 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.

Thanks. It is working. With it, for a given index RIC, I can get the RIC of that index constituents. Do you know if is possible to get directly the ISIN_CODE of those constituents? To avoid to perform a new consult per constituent to get it.

Hello @JNeves

Please be informed that Elektron does not support ISIN code, Elektron support Thomson Reuters RIC code only.You can use the DataScope Select (DSS) API to convert between RIC code and ISIN code.

DataScope Select (DSS) is an internet hosted platform, with request-retrieve REST API that offers unparalleled access to global pricing, validated terms and conditions, historical data content, corporate actions, cross-reference data and entity data. You can use any compilers to request data from the DSS API via the REST interface.

Upvote
9.7k 49 38 60

Hi @JNeves,

For content related queries, the best resource is to direct questions to the Thomson Reuters Helpdesk, which you can reach by either calling the Helpdesk number in your country or using Contact Us capability in Eikon application, or following the link below: https://mytr.thomsonreuters.com/content/mytr/en/signin.html?.

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