关于rqdata账户密码的问题已经解决,在尝试运行下载数据时报错,Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/vnpy/app/cta_backtester/engine.py", line 365, in run_downloading
data = rqdata_client.query_history(req)
File "/usr/local/lib/python3.7/dist-packages/vnpy/trader/rqdata.py", line 132, in query_history
adjust_type="none"
File "/usr/local/lib/python3.7/dist-packages/rqdatac/decorators.py", line 131, in wrap
return func(args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/rqdatac/services/get_price.py", line 124, in get_price
pf = get_minbar(order_book_ids, start_date, end_date, fields, duration, market)
File "/usr/local/lib/python3.7/dist-packages/rqdatac/services/get_price.py", line 439, in get_minbar
"get_minbar_v", order_book_ids, start_date, end_date, fields, duration, market=market
File "/usr/local/lib/python3.7/dist-packages/rqdatac/decorators.py", line 59, in wrap
return func(args, kwargs)
File "/usr/local/lib/python3.7/dist-packages/rqdatac/thread_local.py", line 43, in execute
return self._execute(self._get_connection(), method, args, kwargs)
File "/usr/local/lib/python3.7/dist-packages/rqdatac/thread_local.py", line 39, in _execute
raise e
File "/usr/local/lib/python3.7/dist-packages/rqdatac/thread_local.py", line 34, in _execute
return conn.execute(method, *args, kwargs)
File "/usr/local/lib/python3.7/dist-packages/rqdatac/connection.py", line 132, in execute
msg_type, body = self._read_one_packet()
File "/usr/local/lib/python3.7/dist-packages/rqdatac/connection.py", line 102, in _read_one_packet
raise get_error(code)(msg)
rqdatac.share.errors.QuotaExceeded: login session num reached MAX limit
密码很长是真的但不知道为什么会出错