vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 72
声望: 2

米筐下载数据超过当日最大下载量触发异常,CTA策略和CTA回测同时都不能用了,异常显示如下,关闭vnstudio重启也没用了,需要如何处理?
Traceback (most recent call last):
File "d:\vnstudio\lib\site-packages\vnpy\trader\ui\mainwindow.py", line 281, in open_widget
widget = widget_class(self.main_engine, self.event_engine)
File "d:\vnstudio\lib\site-packages\vnpy\app\cta_strategy\ui\widget.py", line 37, in init
self.cta_engine.init_engine()
File "d:\vnstudio\lib\site-packages\vnpy\app\cta_strategy\engine.py", line 107, in init_engine
self.init_rqdata()
File "d:\vnstudio\lib\site-packages\vnpy\app\cta_strategy\engine.py", line 129, in init_rqdata
result = rqdata_client.init()
File "d:\vnstudio\lib\site-packages\vnpy\trader\rqdata.py", line 65, in init
df = rqdata_all_instruments()
File "d:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 131, in wrap
return func(args, **kwargs)
File "d:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 343, in all_instruments
ins_ret = filter(cond, get_instrument_list(market))
File "d:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 111, in wrapper
value = user_function(
args, kwargs)
File "d:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 111, in _all_cached_instruments_list
return _all_instruments_list(market)
File "d:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 106, in _all_instruments_list
return [Instrument(i) for i in get_client().execute("all_instruments", market=market)]
File "d:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 59, in wrap
return func(*args,
kwargs)
File "d:\vnstudio\lib\site-packages\rqdatac\connection_pool.py", line 27, in execute
return conn.execute(method, *args, **kwargs)
File "rqdatac\connection.py", line 117, in rqdatac.connection.Connection.execute
File "rqdatac\connection.py", line 87, in rqdatac.connection.Connection._read_one_packet
rqdatac.share.errors.QuotaExceeded: Quota exceeded

Member
avatar
加入于:
帖子: 1465
声望: 90

可以升级更新一下程序看看

Member
avatar
加入于:
帖子: 72
声望: 2

已经是最新版本的了,把米筐配置从vntrader删除可以用,刚在配置上米筐又不能用了

Member
avatar
加入于:
帖子: 72
声望: 2

好像米筐封号了,触及最大数据下载

Member
avatar
加入于:
帖子: 34
声望: 0

我之前也遇到过这个问题,当时就重新申请了一个试用账号,结果下载到一定量以后也报错,连回测也不能用了,但是第二天恢复正常,你就当它把你数据端口关闭了吧。

Member
avatar
加入于:
帖子: 1465
声望: 90

试用账号有流量限制,毕竟只是用来免费试用的。

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3