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

Traceback (most recent call last):
File "C:\veighna_studio\lib\site-packages\vnpy\trader\ui\mainwindow.py", line 333, in open_widget
widget = widget_class(self.main_engine, self.event_engine)
File "C:\veighna_studio\lib\site-packages\vnpy_ctastrategy\ui\widget.py", line 66, in init
self.cta_engine.init_engine()
File "C:\veighna_studio\lib\site-packages\vnpy_ctastrategy\engine.py", line 134, in init_engine
self.load_strategy_data()
File "C:\veighna_studio\lib\site-packages\vnpy_ctastrategy\engine.py", line 936, in load_strategy_data
self.strategy_data = load_json(self.data_filename)
File "C:\veighna_studio\lib\site-packages\vnpy\trader\utility.py", line 103, in load_json
data: dict = json.load(f)
File "C:\veighna_studio\lib\json__init.py", line 293, in load
return loads(fp.read(),
File "C:\veighna_studio\lib\json\
init__.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\veighna_studio\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\veighna_studio\lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 13 column 9 (char 301)

除了手动删除json文件,还有别的自动的办法吗?

Member
avatar
加入于:
帖子: 5005
声望: 302

可参考https://blog.csdn.net/qq_30007885/article/details/93099246

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

xiaohe wrote:

可参考https://blog.csdn.net/qq_30007885/article/details/93099246

解决了

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

沪公网安备 31011502017034号

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