Update engine.py

This commit is contained in:
xldistance 2019-06-12 18:44:07 +08:00 committed by GitHub
parent 099f832f48
commit 135b16dc44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,7 @@ class CtaEngine(BaseEngine):
stop_orderid=order.vt_orderid,
strategy_name=strategy.strategy_name,
status=STOP_STATUS_MAP[order.status],
vt_orderids=order.vt_orderid,
vt_orderids=[order.vt_orderid],
)
self.call_strategy_func(strategy, strategy.on_stop_order, so)