up
This commit is contained in:
parent
4bf4d7ac49
commit
fd60b4db4b
@ -682,7 +682,7 @@ class OkexWebsocketApi(WebsocketClient):
|
|||||||
self.gateway.on_order(copy(order))
|
self.gateway.on_order(copy(order))
|
||||||
|
|
||||||
trade_volume = d.get("last_fill_qty", 0)
|
trade_volume = d.get("last_fill_qty", 0)
|
||||||
if not trade_volume:
|
if float(trade_volume) == 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.trade_count += 1
|
self.trade_count += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user