From bd494ed67a6fe39cda19fc3b1f32159f31e96176 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 23 Oct 2022 09:22:13 +0200 Subject: [PATCH] Cleanup exchange changes --- freqtrade/exchange/exchange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 7d0e3a3b1..ad66d50e0 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -233,7 +233,7 @@ class Exchange: self._ws_async = self._init_ccxt(exchange_conf, False, ccxt_async_config) self._has_watch_ohlcv = self.exchange_has("watchOHLCV") self._exchange_ws: Optional[ExchangeWS] = None - if exchange_config.get('enable_ws', True) and self._has_watch_ohlcv: + if exchange_config.get("enable_ws", True) and self._has_watch_ohlcv: self._exchange_ws = ExchangeWS(self._config, self._ws_async) logger.info(f'Using Exchange "{self.name}"')