mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 00:23:07 +00:00
Cleanup exchange changes
This commit is contained in:
@@ -233,7 +233,7 @@ class Exchange:
|
|||||||
self._ws_async = self._init_ccxt(exchange_conf, False, ccxt_async_config)
|
self._ws_async = self._init_ccxt(exchange_conf, False, ccxt_async_config)
|
||||||
self._has_watch_ohlcv = self.exchange_has("watchOHLCV")
|
self._has_watch_ohlcv = self.exchange_has("watchOHLCV")
|
||||||
self._exchange_ws: Optional[ExchangeWS] = None
|
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)
|
self._exchange_ws = ExchangeWS(self._config, self._ws_async)
|
||||||
|
|
||||||
logger.info(f'Using Exchange "{self.name}"')
|
logger.info(f'Using Exchange "{self.name}"')
|
||||||
|
|||||||
Reference in New Issue
Block a user