vn.py官网
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 16
声望: 0

Traceback (most recent call last):
File "c:\vnstudio\lib\site-packages\vnpy\trader\ui\mainwindow.py", line 281, in open_widget
widget = widget_class(self.main_engine, self.event_engine)
File "c:\vnstudio\lib\site-packages\vnpy_ctabacktester\ui\widget.py", line 51, in init
self.backtester_engine.init_engine()
File "c:\vnstudio\lib\site-packages\vnpy_ctabacktester\engine.py", line 64, in init_engine
self.init_rqdata()
File "c:\vnstudio\lib\site-packages\vnpy_ctabacktester\engine.py", line 70, in init_rqdata
result = rqdata_client.init()
File "c:\vnstudio\lib\site-packages\vnpy\trader\rqdata.py", line 66, in init
df = rqdata_all_instruments()
File "c:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 139, in wrap
return func(args, **kwargs)
File "c:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 379, in all_instruments
ins_ret = filter(cond, get_instrument_list(market))
File "c:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 119, in wrapper
value = user_function(
args, kwargs)
File "c:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 134, in _all_cached_instruments_list
return _all_instruments_list(market)
File "c:\vnstudio\lib\site-packages\rqdatac\services\basic.py", line 112, in _all_instruments_list
ins = [Instrument(i) for i in get_client().execute("all_instruments", market=market)]
File "c:\vnstudio\lib\site-packages\rqdatac\decorators.py", line 67, in wrap
return func(*args,
kwargs)
File "c:\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

打开CTA回测触发异常,rqdata流量限额,无法进行CTA回测,有没有什么办法继续进行CTA回测?

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

解决了,在全局配置里面去掉rqdata的密码就能可以正常进行CTA回测。

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

沪公网安备 31011502017034号