From 7b572c7b33d7669734e37a7d35b531d946bb6167 Mon Sep 17 00:00:00 2001 From: Phan Anh Tuan Date: Tue, 14 Nov 2023 09:36:43 +0700 Subject: [PATCH] fix: update get execution_type bingx --- hummingbot/connector/exchange/bing_x/bing_x_exchange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hummingbot/connector/exchange/bing_x/bing_x_exchange.py b/hummingbot/connector/exchange/bing_x/bing_x_exchange.py index 92a98736ad..cc57fd0f3d 100644 --- a/hummingbot/connector/exchange/bing_x/bing_x_exchange.py +++ b/hummingbot/connector/exchange/bing_x/bing_x_exchange.py @@ -296,7 +296,7 @@ async def _user_stream_event_listener(self): # client_order_id = event_message.get("c") data = event_message.get('data') exchange_order_id = data.get('i') - execution_type = data.get('x') + execution_type = data.get('X') tracked_order = self._order_tracker.fetch_order(exchange_order_id=str(exchange_order_id)) if tracked_order is not None: if execution_type in ["PARTIALLY_FILLED", "FILLED"]: