dpguthrie / yahooquery

Python wrapper for an unofficial Yahoo Finance API
https://yahooquery.dpguthrie.com
MIT License
790 stars 139 forks source link

Some modules has stopped working #153

Closed RobinDeeCee closed 1 year ago

RobinDeeCee commented 1 year ago

assetProfile, summaryProfile (and possibly other ones) has stopped working From this morning (I think) some of the modules stopped working. Did not have the time to check if there are more but I know for a fact there is a problem in the assetProfile and summaryProfile

To Reproduce Steps to reproduce the behavior:

  1. Go to the demo application -> https://dpguthrie-yahooquery-streamlit-app-eydpjo.streamlit.app/
  2. Choose a page -> 'Modules'
  3. Select Method -> 'Multiple Modules'
  4. Select modules -> assetProfile, summaryProfile

Expected behavior This should give back the request data, but it is not.

Screenshots image

Additional context XXX

EDIT

key_stats module has the same issue (reported by @galashour)

galashour commented 1 year ago

Same issue with for the key_stats module.

dpguthrie commented 1 year ago

This is pretty weird. This appears, at least at the moment, to be an issue on the YF side (and maybe just for aapl?). Found a few things that make me think that.

  1. The profile page for AAPL isn't loading right now, which contains data from the summaryProfile module.

    image
  2. When a request is made with the corresponding modules for key_stats and summary_profile, YF isn't even returning that data to their front-end for AAPL. But appears to for other symbols. https://www.loom.com/share/d9904bee314a4fa4a79a11a8d943d42f

I'll keep investigating this though. Let me know if you see this behavior for other symbols.

galashour commented 1 year ago

I agree that it seems to be on yahoo side, since also on their website I don't seem to see some info like (div yield, x-div-date, beta): https://finance.yahoo.com/quote/MSFT/?p=MSFT

but, it is not specific to 'AAPL' but rather quite widespread for quite a few symbols I checked earlier today (JPM, IBM, NVDA, MSFT, etc.).

galashour commented 1 year ago

Problem is now solved on yahoo's end (now the web site shows the missing values), and also the yahooquery modules seem back to normal.

RobinDeeCee commented 1 year ago

This issue is fix indeed, sorry that I didn't see the obvious reason. I just started working with this. So I'm still in mine exploring fase. anyway thanks for the help