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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
21 2 1 5

How to get the TR.PE at a historical date?

Suppose I want to get the TR.PE for AAPL.O on 12/31/2018, only for that day, no other time series data needed. How to do that?

Thanks!

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonhistoricaltime-series
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
39.2k 75 11 27
ek.get_data(['AAPL.O'], ['TR.PE'], {'SDate':'2018-12-31'})
See this tutorial for info on how you can find parameters for use with Eikon Data APIs.
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea