Hello
I am constructing the forward PE ratios for a number of countries, using the national index of a given country.
For example for USA i would use .spx as the ticker for US national index.
My question is what parameter would i need to use in order to get the 12 month forward pe for spx ?
for example df=eg.gettimeseries(.....) could you please give an example for US , spx index? i will apply the same methodology to get the forward PE ratio of other countries' indexes.
Thank you