From 671dd88791ccdc6e40d436fbd91ada8b6da0db92 Mon Sep 17 00:00:00 2001 From: nanoric Date: Mon, 25 Mar 2019 02:30:28 -0400 Subject: [PATCH] =?UTF-8?q?[Fix]=20=E4=BF=AE=E5=A4=8Dorder.time=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=B8=8D=E4=B8=80=E8=87=B4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/gateway/oes/oes_td.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/gateway/oes/oes_td.py b/vnpy/gateway/oes/oes_td.py index 53608767..0ce0882d 100644 --- a/vnpy/gateway/oes/oes_td.py +++ b/vnpy/gateway/oes/oes_td.py @@ -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