dpguthrie / dpguthrie/yahooquery

Get Historical P/E ratio values

Open
#186 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
920
Forks
164
PR merge metrics
No merged PRs in 30d

Description

**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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.