parent
36eba0f110
commit
16c22c7b68
@ -209,7 +209,7 @@ class Edge:
|
|||||||
if pair in self._cached_pairs:
|
if pair in self._cached_pairs:
|
||||||
return self._cached_pairs[pair].stoploss
|
return self._cached_pairs[pair].stoploss
|
||||||
else:
|
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.')
|
'strategy stoploss is returned instead.')
|
||||||
return self.strategy.stoploss
|
return self.strategy.stoploss
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user