Rename process_maybe_execute_buys() --> enter_positions()

This commit is contained in:
hroff-1902
2019-12-30 22:50:56 +03:00
parent 84918ad424
commit fd7af587da
6 changed files with 96 additions and 88 deletions

View File

@@ -137,7 +137,7 @@ class FreqtradeBot:
# Then looking for buy opportunities
if self.get_free_open_trades():
self.process_maybe_execute_buys()
self.enter_positions()
# Check and handle any timed out open orders
self.check_handle_timedout()
@@ -460,9 +460,9 @@ class FreqtradeBot:
return True
def process_maybe_execute_buys(self) -> int:
def enter_positions(self) -> int:
"""
Tries to execute buy orders for trades in a safe way
Tries to execute buy orders for new trades (positions)
"""
trades_created = 0