JECSand / yahoofinancials

A powerful financial data module used for pulling data from Yahoo Finance. This module can pull fundamental and technical data for stocks, indexes, currencies, cryptos, ETFs, Mutual Funds, U.S. Treasuries, and commodity futures.
https://pypi.python.org/pypi/yahoofinancials
MIT License
910 stars 215 forks source link

Seems to have stopped working #154

Closed micksulley closed 1 year ago

micksulley commented 1 year ago

My system has stopped working. First I reinstalled with python3 -m pip install yahoofinancials==1.15 but it still didn't work so to investigate I ran demo.py and that doesn't seem to work either. This is what I see

python demo.py 
----------------------------------------------------------------
WARNING:root:yahoofinancials ticker: MMM error getting income - <class 'yahoofinancials.etl.ManagedException'>
    Continuing extraction...
WARNING:root:yahoofinancials ticker: AAPL error getting income - <class 'yahoofinancials.etl.ManagedException'>
    Continuing extraction...
{'MMM': None, 'AAPL': None}
----------------------------------------------------------------
WARNING:root:yahoofinancials ticker: MMM error getting income - <class 'yahoofinancials.etl.ManagedException'>
    Continuing extraction...
WARNING:root:yahoofinancials ticker: AAPL error getting income - <class 'yahoofinancials.etl.ManagedException'>
    Continuing extraction...
{}
----------------------------------------------------------------
WARNING:root:yahoofinancials ticker: MMM error getting income - <class 'yahoofinancials.etl.ManagedException'>
    Continuing extraction...
WARNING:root:yahoofinancials ticker: AAPL error getting income - <class 'yahoofinancials.etl.ManagedException'>
    Continuing extraction...
{'MMM': None, 'AAPL': None}
----------------------------------------------------------------
WARNING:root:yahoofinancials ticker: MMM error getting income - <class 'yahoofinancials.etl.ManagedException'>
    Continuing extraction...
WARNING:root:yahoofinancials ticker: AAPL error getting income - <class 'yahoofinancials.etl.ManagedException'>
    Continuing extraction...
{'MMM': None, 'AAPL': None}
----------------------------------------------------------------
WARNING:root:yahoofinancials ticker: MMM error getting income - <class 'yahoofinancials.etl.ManagedException'>
    Continuing extraction...
WARNING:root:yahoofinancials ticker: AAPL error getting income - <class 'yahoofinancials.etl.ManagedException'>
    Continuing extraction...
{'MMM': None, 'AAPL': None}
----------------------------------------------------------------
dict_keys([])
----------------------------------------------------------------
535.9853928089142 seconds
micksulley commented 1 year ago

Sorry - I hadn't noticed v1.16, upgraded to that and it works. Thanks Mick

JECSand commented 1 year ago

@micksulley No worries! Closing this issue.