修正StopOrder vt_orderids

修正StopOrder vt_orderids
This commit is contained in:
xldistance 2019-06-12 17:32:48 +08:00 committed by GitHub
parent 8fcccd8b1c
commit 099f832f48
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_orderid=order.vt_orderid,
vt_orderids=order.vt_orderid,
)
self.call_strategy_func(strategy, strategy.on_stop_order, so)