[Fix] 修复order.time类型不一致的问题
This commit is contained in:
parent
0e3b79f6f4
commit
671dd88791
@ -718,7 +718,7 @@ class OrderManager:
|
||||
vt_order.status = STATUS_OES2VT[data.ordStatus]
|
||||
vt_order.volume = data.ordQty
|
||||
vt_order.traded = data.cumQty
|
||||
vt_order.time = parse_oes_datetime(data.ordDate, data.ordTime)
|
||||
vt_order.time = parse_oes_datetime(data.ordDate, data.ordTime).isoformat()
|
||||
except KeyError:
|
||||
if data.bsType == eOesBuySellTypeT.OES_BS_TYPE_BUY:
|
||||
offset = Offset.OPEN
|
||||
|
Loading…
Reference in New Issue
Block a user