pythoncaptchabotsgoogle-finance

Google Finance Lock Out - Robot


So I have run into the issue of getting data from Google Finance. They have an html access system that you can use to access webpages that give stock data in simple text format (ideal for minimizing parsing). However, if you access this service too frequently, Google locks you out and you need to enter a captcha. I currently have a list of about 50 stocks and I want to update my price data every 15 seconds, but I soon get locked out (after about 3-4 minutes).

Does anyone have any solutions to this/understand the nature of how often is the max I could ping Google for this information?

Not sure why a feature like this would be on a service designed to give data like this... but similar alternative services with realtime data would also be accepted.


Solution

  • Yahoo YQL works fairly well, but throws numerous HTTP 500 errors that need to be handled, they are all benign. TradeKing is an option, however, the oauth2 package is required and that is very difficult to install properly