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
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.
Try this code:
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
About the limit with data grid, last version fixed the 10.000 datapoint limit