Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/330.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
谷歌金融在python阅读器-如何防止谷歌封锁访问?_Python_Pandas_Google Finance Api_Pandas Datareader - Fatal编程技术网

谷歌金融在python阅读器-如何防止谷歌封锁访问?

谷歌金融在python阅读器-如何防止谷歌封锁访问?,python,pandas,google-finance-api,pandas-datareader,Python,Pandas,Google Finance Api,Pandas Datareader,当使用pythonpandas_datareader检索股票数据时,谷歌偶尔会在某个时间段内发送太多请求时阻止访问 from pandas_datareader import data as web df = web.DataReader(name=ticker, data_source='google', start='20170421', end='20170421') 想象一下,我必须遍历几个这样的代码('AAPL','MSFT',…)。有人知道每秒/分钟/小时/天可以发送多少个请求而不

当使用python
pandas_datareader
检索股票数据时,谷歌偶尔会在某个时间段内发送太多请求时阻止访问

from pandas_datareader import data as web
df = web.DataReader(name=ticker, data_source='google', start='20170421', end='20170421')

想象一下,我必须遍历几个这样的代码('AAPL','MSFT',…)。有人知道每秒/分钟/小时/天可以发送多少个请求而不会遇到谷歌的问题吗?

我认为这是在使用现在已不推荐的谷歌财务API(),因此关于利率限制的文档不再可用。更重要的是,当Google最终关闭API时,这些代码很快就会崩溃,所以你可能想使用其他的东西。谢谢Oliver,我已经在使用其他来源了。这只是出于验证目的的备份。