Merge pull request #1961 from xldistance/patch-28

修复本地停止单返回数据错误
This commit is contained in:
vn.py 2019-08-01 11:33:49 +08:00 committed by GitHub
commit 2984d65f56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -423,7 +423,7 @@ class CtaEngine(BaseEngine):
self.call_strategy_func(strategy, strategy.on_stop_order, stop_order) self.call_strategy_func(strategy, strategy.on_stop_order, stop_order)
self.put_stop_order_event(stop_order) self.put_stop_order_event(stop_order)
return stop_orderid return [stop_orderid]
def cancel_server_order(self, strategy: CtaTemplate, vt_orderid: str): def cancel_server_order(self, strategy: CtaTemplate, vt_orderid: str):
""" """