-
Notifications
You must be signed in to change notification settings - Fork 181
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
urllib.error.HTTPError: HTTP Error 999: Request denied #54
Comments
The same problem |
Looks like Yahoo is shutting down this service. Error message is now: 403 Forbidden It has come to our attention that this service is being used in violation of the Yahoo Terms of Service. As such, the service is being discontinued. For all future markets and equities data research, please refer to finance.yahoo.com |
Both Yahoo! and Google have changed or shut down their APIs. Is there another source of data, such as the markets themselves or brokers (at least for their customers)? I see very little discussion of alternatives, but some, such as (scroll down a bit): --jh-- |
Something like this seems to still work, I recently switched from import json
import requests
symbol = 'ANET'
response = requests.get('https://finance.google.com/finance?output=json&q=' + symbol)
# The response is not valid JSON if you don't strip the leading "\n//"
text = response.text.lstrip()[2:]
quote = json.loads(text) |
+1
|
I found someone on the web did produce a working google query: URL output to browser looks like this: EXCHANGE%3DNASDAQ I’m no python coder, but was curious to see where such development is at this point. Happy to hear if this is picked up again. |
It's returning the google finance webpage |
got error trying to run ystockquote.get_price('AAPL') or ystockquote.get_all('AAPL') What is the issue here?
The text was updated successfully, but these errors were encountered: