From 16c22c7b68527c6376ef7e03b5fad0a6efedc34c Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 18 May 2021 19:16:25 +0200 Subject: [PATCH] Add pair name to stoploss helps debugging #4972 --- freqtrade/edge/edge_positioning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/edge/edge_positioning.py b/freqtrade/edge/edge_positioning.py index 0449d6ebe..4bc0d660b 100644 --- a/freqtrade/edge/edge_positioning.py +++ b/freqtrade/edge/edge_positioning.py @@ -209,7 +209,7 @@ class Edge: if pair in self._cached_pairs: return self._cached_pairs[pair].stoploss else: - logger.warning('tried to access stoploss of a non-existing pair, ' + logger.warning(f'Tried to access stoploss of non-existing pair {pair}, ' 'strategy stoploss is returned instead.') return self.strategy.stoploss