[Fix] filter new event push for BinanceGateway

This commit is contained in:
vn.py 2019-08-19 14:47:22 +08:00
parent 4450774bda
commit 3077611e2d

View File

@ -629,7 +629,7 @@ class BinanceTradeWebsocketApi(WebsocketClient):
"""""" """"""
if packet["e"] == "outboundAccountInfo": if packet["e"] == "outboundAccountInfo":
self.on_account(packet) self.on_account(packet)
else: elif packet["e"] == "executionReport":
self.on_order(packet) self.on_order(packet)
def on_account(self, packet): def on_account(self, packet):