yahoofinancials icon indicating copy to clipboard operation
yahoofinancials copied to clipboard

get_key_statistics_data()

Open uhed3638 opened this issue 4 years ago • 4 comments

Hi

Any idea if most the functions are not working? I tried a number of functions and the output shown none. Below is use of get_key_statistics_data() and output reflect "None".

from yahoofinancials import YahooFinancials

yahoo_financials = YahooFinancials('AAPL')
print(yahoo_financials.get_key_statistics_data())

{'AAPL': None}

uhed3638 avatar Apr 18 '20 07:04 uhed3638

Hi, When last this code worked. I just come on this today and it seems not working.

dcgithubaccount avatar Apr 18 '20 10:04 dcgithubaccount

I think Yahoo restricted access to this data now, as the official page https://finance.yahoo.com/quote/AAPL/financials?p=AAPL now has "Get access to 40+ years of historical data with Yahoo Finance Premium" at the top.

ericpts avatar Apr 18 '20 21:04 ericpts

For $30 a month they can keep their data. :(

sylvandb avatar Apr 24 '20 17:04 sylvandb

does this use requests or aiohttp? cause this package is extremely slow

George-Gar avatar Jun 12 '21 00:06 George-Gar

@uhed3638 Can confirm key statistics data is working, I added a unit test as of v1.13 for it.

@George-Gar By moving to full yahoo api consumption and by adding concurrent execution this package has sped up greatly. We switched to requests recently as well.

Please reach out if there are any further issues or concerns.

JECSand avatar Feb 14 '23 07:02 JECSand