[Fix] typo in update_order

This commit is contained in:
vn.py 2019-06-07 22:52:10 +08:00
parent 8cb4abcf9d
commit a20eee2d44

View File

@ -563,8 +563,8 @@ class TradeApi(ITapTradeAPINotify):
direction=DIRECTION_TAP2VT[info.OrderSide], direction=DIRECTION_TAP2VT[info.OrderSide],
price=info.OrderPrice, price=info.OrderPrice,
volume=info.OrderQty, volume=info.OrderQty,
taded=info.OrderMatchQty, traded=info.OrderMatchQty,
status=STATUS_TAP2VT[info.State], status=STATUS_TAP2VT[info.OrderState],
time=info.OrderInsertTime, time=info.OrderInsertTime,
gateway_name=self.gateway_name gateway_name=self.gateway_name
) )