From a20eee2d44cb04e39ebe16cad53f01e03fcc4f8c Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Fri, 7 Jun 2019 22:52:10 +0800 Subject: [PATCH] [Fix] typo in update_order --- vnpy/gateway/tap/tap_gateway.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vnpy/gateway/tap/tap_gateway.py b/vnpy/gateway/tap/tap_gateway.py index f417a685..aa0606c1 100644 --- a/vnpy/gateway/tap/tap_gateway.py +++ b/vnpy/gateway/tap/tap_gateway.py @@ -563,8 +563,8 @@ class TradeApi(ITapTradeAPINotify): direction=DIRECTION_TAP2VT[info.OrderSide], price=info.OrderPrice, volume=info.OrderQty, - taded=info.OrderMatchQty, - status=STATUS_TAP2VT[info.State], + traded=info.OrderMatchQty, + status=STATUS_TAP2VT[info.OrderState], time=info.OrderInsertTime, gateway_name=self.gateway_name )