Reduce verbosity of getting sell-rate from orderbook

This commit is contained in:
Matthias 2021-06-26 20:09:52 +02:00
parent 60c7308126
commit 00a7097b9e

View File

@ -1063,8 +1063,7 @@ class Exchange:
ask_strategy = self._config.get('ask_strategy', {}) ask_strategy = self._config.get('ask_strategy', {})
if ask_strategy.get('use_order_book', False): if ask_strategy.get('use_order_book', False):
# This code is only used for notifications, selling uses the generator directly logger.debug(
logger.info(
f"Getting price from order book {ask_strategy['price_side'].capitalize()} side." f"Getting price from order book {ask_strategy['price_side'].capitalize()} side."
) )
order_book_top = ask_strategy.get('order_book_top', 1) order_book_top = ask_strategy.get('order_book_top', 1)