yahooquery icon indicating copy to clipboard operation
yahooquery copied to clipboard

Get Historical P/E ratio values

Open sophia-wright-blue opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. I'd like to use this library to get the Historical P/E ratio values for a ticker

i only see a way to get full historical price data from the docs, but not EPS values

the methods - ticker.income_statement() and ticker.valuation_measures have the EPS, P/E values , but I can't figure out how to get these values for the past 5 years

Describe the solution you'd like A dataframe that can be used to create a chart like the one here:

https://www.wolframalpha.com/input?i=p%2Fe+microsoft

Describe alternatives you've considered Wolfram alpha, but I'd like to get the same data with Python

Additional context thank you in advance for your help!

sophia-wright-blue avatar Apr 26 '23 16:04 sophia-wright-blue

In addition, currently valuation measures item such as PeRatio is not working in get_financial_data module. Agreed if we got valuation measure not only for the last quarters, but also for last 3-4 years image

charlie-delta-003 avatar May 02 '23 18:05 charlie-delta-003

Any updates on this?

pgmikhael avatar Jul 16 '23 00:07 pgmikhael