From 67ff48ce3e9dbca1fac36109d5cbb2ab66c03f7f Mon Sep 17 00:00:00 2001 From: hroff-1902 Date: Thu, 12 Sep 2019 20:58:10 +0300 Subject: [PATCH] Comment out noisy log messages --- freqtrade/strategy/interface.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/freqtrade/strategy/interface.py b/freqtrade/strategy/interface.py index 3c1df276c..17246ecf7 100644 --- a/freqtrade/strategy/interface.py +++ b/freqtrade/strategy/interface.py @@ -312,7 +312,8 @@ class IStrategy(ABC): experimental = self.config.get('experimental', {}) if buy and experimental.get('ignore_roi_if_buy_signal', False): - logger.debug(f"{trade.pair} - Buy signal still active. sell_flag=False") + # This one is noisy, commented out + # logger.debug(f"{trade.pair} - Buy signal still active. sell_flag=False") return SellCheckTuple(sell_flag=False, sell_type=SellType.NONE) # Check if minimal roi has been reached and no longer in buy conditions (avoiding a fee) @@ -322,9 +323,11 @@ class IStrategy(ABC): return SellCheckTuple(sell_flag=True, sell_type=SellType.ROI) if experimental.get('sell_profit_only', False): - logger.debug(f"{trade.pair} - Checking if trade is profitable...") + # This one is noisy, commented out + # logger.debug(f"{trade.pair} - Checking if trade is profitable...") if trade.calc_profit(rate=rate) <= 0: - logger.debug(f"{trade.pair} - Trade is not profitable. sell_flag=False") + # This one is noisy, commented out + # logger.debug(f"{trade.pair} - Trade is not profitable. sell_flag=False") return SellCheckTuple(sell_flag=False, sell_type=SellType.NONE) if sell and not buy and experimental.get('use_sell_signal', False): @@ -333,7 +336,7 @@ class IStrategy(ABC): return SellCheckTuple(sell_flag=True, sell_type=SellType.SELL_SIGNAL) # This one is noisy, commented out... -# logger.debug(f"{trade.pair} - No sell signal. sell_flag=False") + # logger.debug(f"{trade.pair} - No sell signal. sell_flag=False") return SellCheckTuple(sell_flag=False, sell_type=SellType.NONE) def stop_loss_reached(self, current_rate: float, trade: Trade,