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

Traceback (most recent call last):
File "D:\vnstudio\lib\site-packages\vnstation\cli.py", line 92, in run_trader
main_engine.add_app(app)
File "D:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 96, in add_app
engine = self.add_engine(app.engine_class)
File "D:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 71, in add_engine
engine = engine_class(self, self.event_engine)
File "D:\vnstudio\lib\site-packages\vnpy\app\spread_trading\engine.py", line 51, in init
self.strategy_engine: SpreadStrategyEngine = SpreadStrategyEngine(self)
File "D:\vnstudio\lib\site-packages\vnpy\app\spread_trading\engine.py", line 608, in init
self.load_strategy_class()
File "D:\vnstudio\lib\site-packages\vnpy\app\spread_trading\engine.py", line 630, in load_strategy_class
self.load_strategy_class_from_folder(path2, "strategies")
File "D:\vnstudio\lib\site-packages\vnpy\app\spread_trading\engine.py", line 645, 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
加入于:
帖子: 4130
声望: 230

请升级v2.1.0最新版本试试

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