Handle orderbook_depth check correctly

This commit is contained in:
Matthias 2019-08-13 10:12:02 +02:00
parent a325f1ce2b
commit 6948e0ba84

View File

@ -299,6 +299,8 @@ class FreqtradeBot(object):
(bidstrat_check_depth_of_market.get('bids_to_ask_delta', 0) > 0):
if self._check_depth_of_market_buy(_pair, bidstrat_check_depth_of_market):
buycount += self.execute_buy(_pair, stake_amount)
else:
continue
buycount += self.execute_buy(_pair, stake_amount)