From a154b7957728a924ac99d0dd408efad4a042a7aa Mon Sep 17 00:00:00 2001 From: TheHolyRoger Date: Fri, 2 Apr 2021 19:13:40 +0100 Subject: [PATCH] CoinZoom: Add balance check on order update --- hummingbot/connector/exchange/coinzoom/coinzoom_exchange.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hummingbot/connector/exchange/coinzoom/coinzoom_exchange.py b/hummingbot/connector/exchange/coinzoom/coinzoom_exchange.py index a4ab472965..a4d000accd 100644 --- a/hummingbot/connector/exchange/coinzoom/coinzoom_exchange.py +++ b/hummingbot/connector/exchange/coinzoom/coinzoom_exchange.py @@ -705,6 +705,7 @@ def _process_order_message(self, order_msg: Dict[str, Any]): if updated: safe_ensure_future(self._trigger_order_fill(tracked_order, order_msg)) + safe_ensure_future(self._update_balances()) elif tracked_order.is_cancelled: self.logger().info(f"Successfully cancelled order {tracked_order.client_order_id}.") self.stop_tracking_order(tracked_order.client_order_id)