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

重新安装2.0.7最新版本后,可以正常登录进入,然后报触发异常错误,检查不出毛病,各位大神求教,错误信息如下:

Traceback (most recent call last):
File "C:\vnstudio\lib\site-packages\vnstation\cli.py", line 80, in run_trader
main_engine.add_app(app)
File "C:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 87, in add_app
engine = self.add_engine(app.engine_class)
File "C:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 62, in add_engine
engine = engine_class(self, self.event_engine)
File "C:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 48, in init
self.load_strategy_class()
File "C:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 86, in load_strategy_class
self.load_strategy_class_from_folder(path2, "strategies")
File "C:\vnstudio\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 101, in load_strategy_class_from_folder
self.load_strategy_class_from_module(strategy_module_name)
UnboundLocalError: local variable 'strategy_module_name' referenced before assignment
叩谢。。。。

Administrator
avatar
加入于:
帖子: 1919
声望: 86

请在Github开个issue吧,这里看似乎是你的某个目录被破坏了导致的

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

多谢!!

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