Merge pull request #1822 from xldistance/patch-25
修正StopOrder vt_orderids
This commit is contained in:
commit
48d1c71e8b
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user