hi, I tried to get the time series for the PE of s&p 500 using S&PCOMP(PE), but it keeps giving me an error of "remote server error, not implemented", how do I download this data, thank you
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
hi, I tried to get the time series for the PE of s&p 500 using S&PCOMP(PE), but it keeps giving me an error of "remote server error, not implemented", how do I download this data, thank you
Hello @tppvin,
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
AHS
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
Hi @tppvin
You can use the Data Item Browser to check if the field supports timeseries.
To launch Data Item Browser, type in DIB and press enter on Eikon search bar.
Here is the sample code to retrieve 1 year daily data on a specific RIC.
But because you are requesting for 500+ RIC codes.
So you have to also take API limitation into your consideration.
Please read about API limitation at https://developers.refinitiv.com/eikon-apis/eikon-data-api/docs?content=49692&type=documentation_item
So you can spit the RIC code or spit the period into a smaller period so you won't exceed the limited data point.
Thank you very much, sorry I did not phrase my question very well, I wanted to get the time series of SP500 PE data for 1 year, how can I do it? in the datastream, I just use S&PCOMP(PE) to get the time series. but I cannot do it for eikon API