From 64303e90d6d479fa64488645df484f10f4695a70 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 23 Feb 2025 17:11:19 +0100 Subject: [PATCH] feat: Be more verbose on startup regarding what the bot is doing closes #11416 --- freqtrade/freqtradebot.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 84731117a..6a77325e5 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -145,7 +145,11 @@ class FreqtradeBot(LoggingMixin): else None ) - self.active_pair_whitelist = self._refresh_active_whitelist() + logger.info("Starting initial pairlist refresh") + with MeasureTime( + lambda duration, _: logger.info(f"Initial Pairlist refresh took {duration:.2f}s"), 0 + ): + self.active_pair_whitelist = self._refresh_active_whitelist() # Set initial bot state from config initial_state = self.config.get("initial_state")