From b1fbf7f90554bff6c234ab497a4b60ce243628bb Mon Sep 17 00:00:00 2001 From: lenik terenin Date: Thu, 22 Jul 2021 17:56:53 +0900 Subject: [PATCH] Update exchange.py Reduce the spamming the log file with the same messages a few times a second. Not sure what the original purpose was, so I just comment it out. --- freqtrade/exchange/exchange.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 91b278077..d4f74a42b 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -1038,10 +1038,10 @@ class Exchange: ) raise PricingError from e - logger.info(f"{name} price from orderbook {conf_strategy['price_side'].capitalize()}" - f"side - top {order_book_top} order book {side} rate {rate:.8f}") + #logger.info(f"{name} price from orderbook {conf_strategy['price_side'].capitalize()}" + # f"side - top {order_book_top} order book {side} rate {rate:.8f}") else: - logger.info(f"Using Last {conf_strategy['price_side'].capitalize()} / Last Price") + #logger.info(f"Using Last {conf_strategy['price_side'].capitalize()} / Last Price") ticker = self.fetch_ticker(pair) ticker_rate = ticker[conf_strategy['price_side']] if ticker['last']: