[Fix] 修正成交发生时订单成交量错误的BUG
This commit is contained in:
parent
212b864c69
commit
d1306dd237
@ -264,7 +264,7 @@ class OesTdMessageLoop:
|
||||
time=parse_oes_datetime(data.trdDate, data.trdTime)
|
||||
)
|
||||
vt_order.status = STATUS_OES2VT[data.ordStatus]
|
||||
vt_order.traded = data.origOrdQty + data.trdQty
|
||||
vt_order.traded = data.cumQty
|
||||
vt_order.time = parse_oes_datetime(data.trdDate, data.trdTime)
|
||||
self.gateway.on_trade(trade)
|
||||
self.gateway.on_order(vt_order)
|
||||
|
Loading…
Reference in New Issue
Block a user