VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 2
声望: 0

报错信息如下:
2023-03-30 02:30:06 --------------------------------------------------
2023-03-30 02:30:06 VeighNa Trader进程启动
2023-03-30 02:30:07 Traceback (most recent call last):
File "C:\veighna_studio\lib\runpy.py", line 196, in _run_module_as_main
2023-03-30 02:30:07 return _run_code(code, main_globals, None,
File "C:\veighna_studio\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "build\bdist.win-amd64\egg\veighna_station\trader.py", line 39, in <module>
2023-03-30 02:30:07 File "build\bdist.win-amd64\egg\veighna_station\trader.py", line 30, in run_trader
File "C:\veighna_studio\lib\site-packages\vnpy\trader\engine.py", line 102, in add_app
engine: BaseEngine = self.add_engine(app.engine_class)
File "C:\veighna_studio\lib\site-packages\vnpy\trader\engine.py", line 73, in add_engine
engine: BaseEngine = engine_class(self, self.event_engine)
File "C:\veighna_studio\lib\site-packages\vnpy_ctastrategy\engine.py", line 98, in init
2023-03-30 02:30:07 self.datafeed: BaseDatafeed = get_datafeed()
File "C:\veighna_studio\lib\site-packages\vnpy\trader\datafeed.py", line 56, in getdatafeed
datafeed = module.Datafeed()
AttributeError: module 'vnpy
' has no attribute 'Datafeed'
2023-03-30 02:37:45 VeighNa Trader进程终止

Member
avatar
加入于:
帖子: 1511
声望: 109

全局配置中的datafeed字段,截图看下怎么填写的?

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

全局配置中的datafeed字段都是默认的, 卸载重装恢复正常:
2023-03-30 22:50:30 --------------------------------------------------
2023-03-30 22:50:30 VeighNa Trader进程启动
2023-03-30 22:50:31 找不到数据服务驱动vnpy_,使用默认的RQData数据服务
2023-03-30 22:51:22 Connect to 180.168.146.187:10202
Session -1578500095 Connected

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

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】