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

Can we pull up the EPS (Earnings per Share) guidance low value and guidance high value for WMT (Sample RIC/Company) as the same values in the Estimates Page -> Guidance Summary in Workspace Codebook?

I am using Codebook and code creator in pulling up the Guidance Low Value and guidance high value for WMT (My sample RIC). Can we pull up the EPS (Earnings Per Share) Guidance Low Value and Guidance High Value for WMT as the same values in the Estimates -> Guidance Summary page in Workspace?


I have attached the screenshot of the page in Workspace that I am trying to retrieve the data to and the code that I am using but I am not able to retrieve the same data and is getting negative values as well.



import refinitiv.data as rd

import pandas as pd

rd.open_session()

df = rd.get_data(

universe = ['WMT'],

fields = [

'TR.GuidanceDate(Period=FY1,Frq=Q,SDate=2020-01-01,EDate=2023-12-31,GuidMeasure=EPS)',

'TR.GuidanceMeasure(SDate=2020-01-01,Frq=Q,GuidMeasure=EPS,Period=FY1,EDate=2023-12-31)',

'TR.GuidanceCurrency(SDate=2020-01-01,Frq=Q,GuidMeasure=EPS,Period=FY1,EDate=2023-12-31)',

'TR.GuidanceLowValue(SDate=2020-01-01,Frq=Q,GuidMeasure=EPS,Period=FY1,EDate=2023-12-31,GuidAcctType=ALL)',

'TR.GuidanceHighValue(SDate=2020-01-01,Frq=Q,GuidMeasure=EPS,Period=FY1,EDate=2023-12-31,GuidAcctType=ALL)'

]

)

pd.options.display.max_rows= None

pd.options.display.max_rows= None


df = df.dropna()


display(df)

Please advice, thank you!1walmart.png

#contentpython apicodebookestimatesguidance
1walmart.png (87.4 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 @marceugene.belen

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
79.2k 251 52 74

@marceugene.belen

Thank you for reaching out to us.

I checked the Workspace and found that the fields that provide those data are TR.GuidanceLowValue(GuidMeasure=EPS) and TR.GuidanceHighValue(GuidMeasure=EPS).

1705382805978.png

However, it doesn't provide the exact paramters used to get those values. Please contact the Workspace support team direclty via MyRefinitiv and ask for the paramters that can be used in the =RDP.Data method to get those values.



1705382805978.png (35.4 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.