Fix logging expression

This commit is contained in:
Matthias 2020-03-03 19:36:03 +01:00
parent 6e2290c4f0
commit 53dcb5d5ed

View File

@ -685,7 +685,8 @@ class FreqtradeBot:
order_book_max=order_book_max) order_book_max=order_book_max)
for i in range(order_book_min, order_book_max + 1): for i in range(order_book_min, order_book_max + 1):
sell_rate = next(order_book) sell_rate = next(order_book)
logger.debug(' order book asks top %s: %0.8f', i, sell_rate) logger.debug(f" order book {config_ask_strategy['price_side']} top {i}: "
f"{sell_rate:0.8f}")
if self._check_and_execute_sell(trade, sell_rate, buy, sell): if self._check_and_execute_sell(trade, sell_rate, buy, sell):
return True return True