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
1 3 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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apidatastream-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.

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

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 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.