From 2e5b9fd4b27bfbbb4c027f8e2e28d88e5677a9b5 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 18 Nov 2020 08:04:19 +0100 Subject: [PATCH] format profit in low_profit_pairs --- freqtrade/plugins/protections/low_profit_pairs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/plugins/protections/low_profit_pairs.py b/freqtrade/plugins/protections/low_profit_pairs.py index 38d0886bb..cc827529f 100644 --- a/freqtrade/plugins/protections/low_profit_pairs.py +++ b/freqtrade/plugins/protections/low_profit_pairs.py @@ -54,7 +54,7 @@ class LowProfitPairs(IProtection): if profit < self._required_profit: self.log_on_refresh( logger.info, - f"Trading for {pair} stopped due to {profit} < {self._required_profit} " + f"Trading for {pair} stopped due to {profit:.2f} < {self._required_profit} " f"within {self._lookback_period} minutes.") until = self.calculate_lock_end(trades, self._stop_duration)