From b709ccbf536bd04d2b4ebc4f237c7d433c045c04 Mon Sep 17 00:00:00 2001 From: gcarq Date: Fri, 10 Nov 2017 17:56:03 +0100 Subject: [PATCH] enhance logging messages --- freqtrade/main.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/freqtrade/main.py b/freqtrade/main.py index 925bf340c..1e31a0ca7 100755 --- a/freqtrade/main.py +++ b/freqtrade/main.py @@ -40,7 +40,10 @@ def _process() -> bool: Trade.session.add(trade) state_changed = True else: - logger.info('Got no buy signal...') + logger.info( + 'Checked all whitelisted currencies. ' + 'Found no suitable entry positions for buying. Will keep looking ...' + ) except ValueError: logger.exception('Unable to create trade') @@ -83,7 +86,10 @@ def close_trade_if_fulfilled(trade: Trade) -> bool: and trade.close_rate is not None \ and trade.open_order_id is None: trade.is_open = False - logger.info('No open orders found and trade is fulfilled. Marking %s as closed ...', trade) + logger.info( + 'Marking %s as closed as the trade is fulfilled and found no open orders for it.', + trade + ) return True return False