remove misplaced execute_buy
This commit is contained in:
parent
cb20239855
commit
db7071f5af
@ -415,8 +415,6 @@ 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:
|
|
||||||
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