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?

Hello team,


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!

workspaceapi#content
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.

Upvotes
Accepted
24.7k 54 17 14

Hello @kevinlancelot.balais

My colleague has answered the same question here. Could you please check it?

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.

Upvotes
1 0 0 0

walmart.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.

Upvotes
1 0 0 0

walmart2.png (102.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.

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.