Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
1 0 0 0

Extraction of all the companies dividend data without listing in instruments. Is it possible ?

Hi, I have been trying to extract dividend data for all of the companies in the database. However, it seems cannot be done without listing the instrument. Is there some way that I could do that ? Thanks in advance

#product#contentdata
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.

Hi @hariharan.muniandy ,

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thank you,

AHS

1 Answer

· Write an Answer
Upvotes
5.2k 16 2 7

Hi @hariharan.muniandy,


I order to request data using one of our APIs like Data Libraries or Eikon, you need to pass the list of instrument RICs to the query: See below an example with Data Libraries:

import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
          universe = ["MSFT.O", "LSEG.L"],
          fields = [  
               'TR.DividendYield',
               'TR.F.DivYldComStockIssuePctAnnized',
               'TR.DPSGrowth5Y'
               'TR.DivExDate',
               'TR.DivPayDate',
          ]
)
df

screenshot-2024-04-26-at-103007.png


You can also pass index chains and the query will expand to show information on all constituents:

ftse_dividend = rd.get_data(
          universe = ["0#.FTSE"],
          fields = [  
               'TR.DividendYield',
               'TR.F.DivYldComStockIssuePctAnnized',
               'TR.DPSGrowth5Y'
               'TR.DivExDate',
               'TR.DivPayDate',
          ],
)
ftse_dividend


screenshot-2024-04-26-at-103219.png


Hope this helps.


Best regards,

Haykaz


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.

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.