We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The error is likely here as result is empty:
query1_info = {} for quote in ["quoteSummary", "quoteResponse"]: if quote in result: result[quote]["result"][0]["symbol"] = self._symbol # MY_COMENT - HERE RESULT IS [] FOR quote="quoteResponse" query_info = next( (info for info in result.get(quote, {}).get("result", []) if info["symbol"] == self._symbol), None, ) if query_info: query1_info.update(query_info)
import yfinance as yf print(yf.version) print(yf.Ticker('NEPT').info)
Not needed.
Not bad data just bad exception handling
yfinance
0.2.54
3.12.3
Ubuntu
The text was updated successfully, but these errors were encountered:
Should be fixed by #2354. Can you check?
Sorry, something went wrong.
No branches or pull requests
Describe bug
The error is likely here as result is empty:
Simple code that reproduces your problem
import yfinance as yf
print(yf.version)
print(yf.Ticker('NEPT').info)
Debug log from yf.enable_debug_mode()
Not needed.
Bad data proof
Not bad data just bad exception handling
yfinance
version0.2.54
Python version
3.12.3
Operating system
Ubuntu
The text was updated successfully, but these errors were encountered: