Closed SDayneko closed 1 year ago
Also, I had the same problem at run the next code: import yfinance as yf
ticker = yf.Ticker("AAPL") price = ticker.history(period="1d").iloc[-1]["Close"] balance_sheet = ticker.balance_sheet(period="quarter").iloc[-1] shares = balance_sheet["Shares Outstanding"] market_cap = price * shares print("Market capitalization:", market_cap)
error: Exception: Yahoo has again changed data format, yfinance now unsure which key(s) is for decryption.
You should read error logs! this is the error
Exception: Yahoo has again changed data format, yfinance now unsure which key(s) is for decryption:
@SDayneko Read the Issue default message! You didn't confirm running latest version.
~### Discussed in https://github.com/ranaroussi/yfinance/discussions/1391~ deleted by @ValueRaider