add missing continue statement in multithreaded loop
This commit is contained in:
parent
db7071f5af
commit
3402d2112b
@ -415,6 +415,10 @@ class FreqtradeBot(object):
|
|||||||
(bidstrat_check_depth_of_market.get('bids_to_ask_delta', 0) > 0):
|
(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):
|
if self._check_depth_of_market_buy(_pair, bidstrat_check_depth_of_market):
|
||||||
self.execute_buy(_pair, stake_amount)
|
self.execute_buy(_pair, stake_amount)
|
||||||
|
else:
|
||||||
|
continue
|
||||||
|
else:
|
||||||
|
self.execute_buy(_pair, stake_amount)
|
||||||
|
|
||||||
client.restart() # restart workers to prevent side effects of memory leaks
|
client.restart() # restart workers to prevent side effects of memory leaks
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user