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