Small formatting improvement
This commit is contained in:
parent
8c87fcdae3
commit
f4af4cc2b2
@ -672,9 +672,7 @@ class FreqtradeBot:
|
||||
try:
|
||||
rate = next(self._order_book_gen(pair, f"{ask_strategy['price_side']}s"))
|
||||
except (IndexError, KeyError) as e:
|
||||
logger.warning(
|
||||
f"Sell Price at location from orderbook could not be determined."
|
||||
)
|
||||
logger.warning("Sell Price at location from orderbook could not be determined.")
|
||||
raise PricingError from e
|
||||
else:
|
||||
rate = self.exchange.fetch_ticker(pair)[ask_strategy['price_side']]
|
||||
|
Loading…
Reference in New Issue
Block a user