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
Accepted
56 3 4 4

How to get quarterly EPS estimate data on Eikon?

Hi there,


Could you please teach me how to retrieve data for "quarterly" estimate EPS on Eikon, not yearly.

thanks,

1626060870650.png

eikoneikon-data-apirefinitiv-dataplatform-eikonworkspaceworkspace-data-apifundamental-dataestimates
1626060870650.png (67.8 KiB)
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.

Upvote
Accepted
56 3 4 4

Hi Jonathan,


Thank you for your reply.

I checked estimation figure of quarterly EPS of BA(Boeing). There is a quite difference of estimate figure of Q2 2021 between Python and Eikon. Figure of Eikon is -0.74, but one of Python is -1.1650.

1626227798603.png


1626227798603.png (68.5 KiB)
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 @junichi.ishikawa

The moderators here do not have deep expertise in every type of content available through Eikon.

You may want to verify this with Refinitiv Helpdesk by asking if there's a way to retrieve the same figure using =TR function in Eikon Excel.

If there's a way to do this using a formula in Excel, then this formula can be replicated using Eikon Data APIs. (to use the same fields and same parameters)

The Refinitiv Content Helpdesk can be reached using Contact Us capability in your Eikon application.
Or by calling the Helpdesk number in your country.
Or at https://my.refinitiv.com/



Hi @junichi.ishikawa ,


Typing in CodeCreator in the search bar of Workspace allowed me access to the CodeCreator app:

1626783649676.png


From there, I went into the security (0#DJI) and field (TR.EPSMedian) that we're after; then, on the 'Parameters & Quick Functions' tab to the right, I used the 'Quick Functions' dropdown menu to select the specific measurement I looked for ticking the 'Series' box at the top right.

1626783997326.png


Then I pressed the blue 'Add' button that gave me Python code to use at the bottom.

I would suggest using these tools to figure out exactly what figures are shown in Eikon.

1626783649676.png (43.4 KiB)
1626783997326.png (89.4 KiB)
Upvotes
5.5k 21 2 6

Hi @junichi.ishikawa,


I would advise using 'parameters', e.g.: for data on each Financial Quarter from a start date (say '2020-07-14') to an end date (say '2021-07-14'), one could use the following:


data1, er = ek.get_data(instruments="0#.DJI",
                        fields=["TR.EPSMedian.date", "TR.EPSMedian", "TR.EPSMeanEstimate"],
                        parameters={'SDate':'2020-07-14',
                                    'EDate':'2021-07-14',
                                    'Frq':'FQ'})
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.

This code returns the following pandas data-frame:

1626082520976.png

1626082520976.png (32.1 KiB)

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.