Merge branch 'DEV' of https://github.com/vnpy/vnpy into DEV

This commit is contained in:
vn.py 2019-04-11 09:19:17 +08:00
commit 80bf809ccb

View File

@ -682,7 +682,7 @@ class OkexWebsocketApi(WebsocketClient):
self.gateway.on_order(copy(order))
trade_volume = d.get("last_fill_qty", 0)
if not trade_volume:
if not trade_volume or float(trade_volume) == 0:
return
self.trade_count += 1