-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
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
I cannot get price module in Ticker class #237
Comments
Just to complete information, I use version 2.3.3 of yahooquery to get that result. |
I think I have the same issue.
this worked a few days ago and stopped all of a sudden. it doesnt work with a VPN to the US either. Ubuntu 22.04 |
Thanks alBronko.
|
I don't have a solution. Price doesn't work. on linux, I added |
It seems to stop working in US also a few hours ago. Hard to say if it is a temporary glitch or not.
|
I've been seeing here in CT, US. Started around 2:29PM EST. the first problem I see is that https://fc.yahoo.com is returning a 502 error code. It is saying that there's a problem and they are working to fix it. The main finance.yahoo.com site is up though |
See if 2.3.4 fixes this for you. Problems are largely location dependent unfortunately and may not provide the fix you're looking for. |
Hello - i tried to use the version 2.3.4 and still have the same error:
|
Same error here (Italy): stock = Ticker('UCG.MI') Failed to obtain crumb. Ability to retrieve data will be significantly limited. Python 3.11.7, Yahooquery 2.3.6 |
Describe the bug
From some days ago when I create Ticker class for any ticker, the modules price and summary details are missing. It seems only history module is working.
To Reproduce
This is my code:
from yahooquery import Ticker
ticker = 'VOYA'
emp = Ticker(ticker)
datos_diarios = emp.history(start=fecha_ini, end=fecha_fin,
adj_ohlc=True)
info = {}
ticker = empresa.symbols[0]
info['nombre'] = emp.price[ticker]['shortName']
info['beta'] = float(emp.summary_detail[ticker]['beta'])
Expected behavior
I should have the Name of the company in info['nombre'] and beta in info['beta']
Instead I have a KeyError for the ticker ´VOYA´ in both cases.
Inspecting the content of emp instance, both methods "price" and "summary_detail" are missing.
Screenshots
I add screenshots for the above results.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: