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

Exception in thread Thread-88:
Traceback (most recent call last):
File "d:\Anaconda3\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "d:\Anaconda3\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "d:\Anaconda3\lib\site-packages\vnpy\app\cta_backtester\engine.py", line 172, in run_backtesting
engine.run_backtesting()
File "d:\Anaconda3\lib\site-packages\vnpy\app\cta_strategy\backtesting.py", line 293, in run_backtesting
func(data)
File "d:\Anaconda3\lib\site-packages\vnpy\app\cta_strategy\backtesting.py", line 721, in new_bar
self.cross_stop_order()
File "d:\Anaconda3\lib\site-packages\vnpy\app\cta_strategy\backtesting.py", line 888, in cross_stop_order
self.active_stop_orders.pop(stop_order.stop_orderid)
KeyError: 'STOP.32735

Administrator
avatar
加入于:
帖子: 4191
声望: 236

用的是什么策略呢?

Member
avatar
加入于:
帖子: 94
声望: 1

用Python的交易员 wrote:

用的是什么策略呢?

实例海归策略

Administrator
avatar
加入于:
帖子: 4191
声望: 236

已在DEV分支修复

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