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

Sdate / Edate

Hi, Below is my code :

profitability,err = ek.get_data(flat_list_PG,["TR.F.OpProfBefNonRecurIncExpn","TR.OperatingMarginPercent","TR.OperatingMarginPercent.Date","TR.ROEPercentTrailing12M"],{"SDate":'0','EDate':'-12'})

For a reason I understand as some companies having already published their FY20, others haven't yet, some securities have the data begin in 2020 / others in 2019.

How do I get all the securities begin at the same date (2019 as all the securities have published in 2019).


More broadly, do you have detailed documentation on how to use date parameters? The documentation on the website is quite light.

thanks a lot,


Regards,

FM

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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 @florent.martini


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

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

Hi @florent.martini

You can refer to this document which explain how to use "Data Item Browser" to check supported parameters on the fields.

Some fields support an absolute date

{'SDate':'20190101', 'EDate':'20200831'}


Some fields support a relative date as in your query.

Some fields support both.


If you cannot find the field you are looking for, please contact Refinitiv Content Helpdesk at https://my.refinitiv.com/ and ask for example using Eikon Excel =TR formula.

From the provided formula, you can see the fields and parameters which you can use in Eikon Data API.

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.