woodysseus / ultra-finance

Automatically exported from code.google.com/p/ultra-finance
0 stars 0 forks source link

retrieve data from yahoo finance require 2 second sleep, or server will reject #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. use yahooFinance.py to get historical data for 100 stocks
2. without sleep, exception will be thrown because server will reject
3. tried to sleep 1 second after every retrieving, but not enough, so put a 2 
seconds sleep

Please use labels and text to provide additional information.
Will try to get data from Google Finance, to see whether it is better

Original issue reported on code.google.com by panpandas on 31 Jul 2011 at 11:51