format profit in low_profit_pairs

pull/4041/head
Matthias 6 years ago
parent e29d918ea5
commit 2e5b9fd4b2

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

Loading…
Cancel
Save