How to get the TR.PE at a historical date?

Suppose I want to get the TR.PE for AAPL.O on 12/31/2018, only for that day, no other time series data needed. How to do that?

Thanks!

Best Answer

  • ek.get_data(['AAPL.O'], ['TR.PE'], {'SDate':'2018-12-31'})
    See this tutorial for info on how you can find parameters for use with Eikon Data APIs.