Add pair name to stoploss

helps debugging #4972
This commit is contained in:
Matthias 2021-05-18 19:16:25 +02:00
parent 36eba0f110
commit 16c22c7b68

View File

@ -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