Remove unnecessary condition

This commit is contained in:
Matthias 2022-03-18 16:44:27 +01:00
parent 208a139d2b
commit 1de5d2fb94
1 changed files with 1 additions and 1 deletions

View File

@ -1426,7 +1426,7 @@ class Exchange:
conf_strategy = self._config.get(strat_name, {})
if conf_strategy.get('use_order_book', False) and ('use_order_book' in conf_strategy):
if conf_strategy.get('use_order_book', False):
order_book_top = conf_strategy.get('order_book_top', 1)
order_book = self.fetch_l2_order_book(pair, order_book_top)