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

请问以下问题怎么解决?1.9.2版本

Process Process-5:

Traceback (most recent call last):
File "D:\Anaconda\lib\multiprocessing\process.py", line 267, in _bootstrap
self.run()
File "D:\Anaconda\lib\multiprocessing\process.py", line 114, in run
self._target(*self._args, self._kwargs)
File "C:\WorkSpace\CtaTrading_xzqh_DHZ_S\runCtaTrading.py", line 69, in runChildProcess
cta.loadSetting()
File "C:\vnpy\trader\app\ctaStrategy\ctaEngine.py", line 544, in loadSetting
l = json.load(f)
File "D:\Anaconda\lib\json__init__.py", line 291, in load
kw)
File "D:\Anaconda\lib\json__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "D:\Anaconda\lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "D:\Anaconda\lib\json\decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Administrator
avatar
加入于:
帖子: 2976
声望: 133

你的策略json文件被破坏了,删掉重启即可

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