python - Getting Stock quotes from Yahoo Finance - Yahoo kicks me out, how can I avoid this? -


i grabbing stock quotes yahoo finance api using csv concept in python. problem yahoo shutdown connection @ stage. after 100 polls, after 10000 polls. tried different thinks waiting 1 hour between 1000 polls, try different concepts :

                try:                     name        = fetch.get_name(symbol + ex_code)                     exchange    = fetch.get_stock_exchange(symbol + ex_code)                  except :                      print 'going sleep'                     t.spleep(3600)                     name        = fetch.get_name(symbol + ex_code)                     exchange    = fetch.get_stock_exchange(symbol + ex_code)                     print'yahoo fehler --- reconnect' 

but not able poll 3000 quotes yahoo stable, yahoo kicks me out. advice works ?

regards adrian


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -