修复本地停止单返回数据错误

修复本地停止单返回数据错误
This commit is contained in:
xldistance 2019-07-25 09:21:33 +08:00 committed by GitHub
parent f85a7a54d5
commit 6ec7f301e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -418,7 +418,7 @@ class CtaEngine(BaseEngine):
self.call_strategy_func(strategy, strategy.on_stop_order, 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):
"""