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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 0 0

how to get time series of S&P 500 PE S&PCOMP(PE)

hi, I am trying to get the time series of S&P 500 PE. Using datastream this is the code--> S&PCOMP(PE) to get to generate the time series chart, but using excel thomson reuter datastream, using the time series request, it keeps giving error message "The remote server returned an error: (501) not implemented". I also cannot use python to retrieve this series. only retried the price but not the PE of S&P 500. Thank you

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythondatastream-api
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
18k 21 12 20

Hi @tppvin

For Eikon Data API(Python) sample code, please refer to my answer at https://community.developers.refinitiv.com/questions/54671/how-to-get-the-pe-of-sp-500.html


For DataStream API, please post a new question under DataStream forum at https://community.developers.refinitiv.com/spaces/251/datastream.html

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