For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles


37 6 9 13

Historical fundamental data with EIkon Python API

I am looking to extract fundametnal data for a ferw companies. I am using the following code:

start_date          = '2015-01-01'
end_date            = '2019-01-01' 
field               = ['TR.TotalRevenue','','TR.TotalRevenue.periodenddate','TR.BSOriginalAnnouncementDate']
ric                 = ['AAPL.O','MSFT.O','BA']
params              = parameters={'SDate': start_date, 'EDate': end_date,'Frq': 'FQ','Period': 'FQ0'}

data,err            = ek.get_data(ric,field,params)

I currently use the paramtenrs Frq and Per but I am confused on the reason why I need both to get the results I am looking for, in that case quarterly data. Could you provide me with details explanation of the role of each parameters and whether the query is correct?

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.

1 Answer

32.2k 40 11 19

Hello @Tulkkas,

On your Eikon Excel, by going into menu ThomsonReuters->Help, you can access Eikon Excel Help, that describes the content accessible via Eikon Data API.

Searching for a parameter pulls up the description:

TR Parameters :


FQ: Fiscal Quarter


FQ0: Last Fiscal Quarter, i.e. you adding last fiscal quarter by using this parameter.

In my understanding, as developer, you need Frq:FQ to derive quarterly frequency. Period, in addition to Start and End dates, allows to add last quarters to the interval.

It may be helpful, to ascertain that what you get is optimal for your requirement, to remove a parameter from query and to compare the resulting output

For in-depth understanding of parameters that originate with Eikon Excel and then were implemented in Eikon Data API, as a customer, you can tap into deeper content expertise with Eikon Helpdesk, either via Eikon desktop-> Help menu or via Refinitiv Helpdesk Online and select Eikon as product.

frq.gif (143.9 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.

thx for the answer. Indeed i need all those paramters to get quarterly data. But it is still not clear why with only the frequency paramters, i can't get them? Any thought about it?