diff --git a/vnpy/gateway/binance/binance_gateway.py b/vnpy/gateway/binance/binance_gateway.py index 7316ac35..b2936948 100644 --- a/vnpy/gateway/binance/binance_gateway.py +++ b/vnpy/gateway/binance/binance_gateway.py @@ -629,7 +629,7 @@ class BinanceTradeWebsocketApi(WebsocketClient): """""" if packet["e"] == "outboundAccountInfo": self.on_account(packet) - else: + elif packet["e"] == "executionReport": self.on_order(packet) def on_account(self, packet):