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

请问以下问题如何解决,谢谢!我同时运行两个vnpy,另外一个没有出问题.

2019-07-29 10:33:00,016 INFO: 启动CTA策略守护父进程
2019-07-29 10:33:00,017 INFO: 启动子进程
2019-07-29 10:33:00,029 INFO: 子进程启动成功
2019-07-29 10:33:01,713 INFO: 启动CTA策略运行子进程
2019-07-29 10:33:01,714 INFO: 事件引擎创建成功

Process Process-1:

Traceback (most recent call last):
File "c:\Anaconda2\lib\multiprocessing\process.py", line 267, in _bootstrap
self.run()
File "c:\Anaconda2\lib\multiprocessing\process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "C:\CtaTrading\runCtaTrading.py", line 51, in runChildProcess
me = MainEngine(ee)
File "C:\vnpy\trader\vtEngine.py", line 39, in init
self.dataEngine = DataEngine(self.eventEngine)
File "C:\vnpy\trader\vtEngine.py", line 428, in init
self.loadContracts()
File "C:\vnpy\trader\vtEngine.py", line 549, in loadContracts
d = f['data']
File "c:\Anaconda2\lib\shelve.py", line 122, in getitem
value = Unpickler(f).load()
EOFError

Administrator
avatar
加入于:
帖子: 2152
声望: 99

把temp目录的缓存文件删了就行,估计是你上次退出的时候出错弄坏了

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