我正在使用 python 从 quandl.com 下载数据,今天我已经达到了 50 次下载的限制。拥有帐户的用户可以超过这个我已经设置了帐户的限制。错误消息说我需要将我的 api 密钥与请求一起放入,但据我所知,它并没有说明如何?
这是错误信息
quandl.errors.quandl_error.LimitExceededError: (Status 429) (Quandl Error QELx01) You have exceeded the anonymous user limit of 50 calls per day. To make more calls today, please register for a free Quandl account and then include your API key with your requests.
这是我正在使用的代码,除了请求限制外
import quandl
import pandas as pd
from datetime import datetime
import pandas.io.data as web
symbols = ['BOE/XUDLTWD','BOE/XUDLCDS','tvix']
pnls = {}
for i in symbols:
a = '/' in i
if a == True:
data = quandl.get(i )
t = i.split('/')
df1= pnls
df1[str(t)] = data
print(a)