From 513669f834bf60901ae0c6268ac66f2510834b38 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 14 Feb 2022 19:44:05 +0100 Subject: [PATCH] Be verbose on okex startup to point out delay. --- freqtrade/exchange/okx.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/freqtrade/exchange/okx.py b/freqtrade/exchange/okx.py index bd2913932..508eded1f 100644 --- a/freqtrade/exchange/okx.py +++ b/freqtrade/exchange/okx.py @@ -75,9 +75,14 @@ class Okx(Exchange): symbols.append(symbol) tiers = {} + # Be verbose here, as this delays startup by ~1 minute. + logger.info( + f"Initializing leverage_tiers for {len(symbols)} markets. " + "This will take about a minute.") for symbol in symbols: res = self._api.fetchLeverageTiers(symbol) tiers[symbol] = res[symbol] + logger.info(f"Done initializing {len(symbols)} markets.") return tiers else: