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
1 0 0 0

Query about EPSMean and associated parameters

Hello,

The output of my below code is a little confusing. I have the following questions:

- Is the PeriodEndDate the end of the Fiscal Year?

- If so, in the output image below, at index 225, both the CalcDate and Date values for FY1 are after the PeriodEndDate. Is that possible?


Code:

instruments = ['AAPL.O']
fields = [
'TR.EPSMean(Period=FY1)',
'TR.EPSMean(Period=FY1).PeriodEndDate',
'TR.EPSMean(Period=FY1).CalcDate',
'TR.EPSMean(Period=FY1).Date',
'TR.EPSLow(Period=FY1)',
'TR.EPSHigh(Period=FY1)',
]
parameters = {'SDate':'20000101', 'EDate':'20190901', 'FRQ':'M'}
df1, err = ek.get_data(instruments, fields, parameters)


Output attached:

Capture.PNG

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apidata
capture.png (84.2 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.

Hello @jakub.straka

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


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


Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

Hi @jakub.straka

I use Eikon Excel to confirm the datapoint and it seems that API retrieve the same data point as from Eikon Excel.

From API perspective, it retrieves the data correctly and successfully.

So now the question is why the date is as shown on the screenshot.

This forum is moderated by developer.

For content question, please contact Refinitiv Helpdesk at https://my.refinitiv.com/

They will be able to address and give you an authoritative answer on content question.


ahs1.png (61.3 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.

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.