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

Upvote
Accepted
37 7 10 13

How to extract quarterly fundamentals data

I would like to extract quarterly values for the field totalEquity for Apple usnig the Python eikon API. I currently have the following function:

temp_data = ek.get_data('AAPL.O',['TR.ISOriginalAnnouncementDate','TR.TotalEquity.periodenddate','TR.TotalEquity'],parameters={'SDate': start_date, 'EDate': end_date})

But i only get yearly values. I tried to change the field FRQ in the parameters but could not get the right set-up. Any suggestion?


eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apidatafundamentals
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.

@Tulkkas

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

@Tulkkas

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
Upvote
Accepted
18.2k 21 13 21

Hi @Tulkkas

You can try this code:

df,e  = ek.get_data('AAPL.O',
                    ['TR.ISOriginalAnnouncementDate(SDate="2017-01-01",EDate="2019-08-01",Period=FQ0,Frq=FQ)',
                     'TR.TotalEquity(SDate="2017-01-01",EDate="2019-08-01",Period=FQ0,Frq=FQ).periodenddate',
                     'TR.TotalEquity(SDate="2017-01-01",EDate="2019-08-01",Period=FQ0,Frq=FQ)'])
df


ahs.png (47.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.