Rename execute_buy to execute_entry

This commit is contained in:
Matthias
2021-08-26 06:48:26 +02:00
parent 7fb570cc58
commit 63844d39f6
4 changed files with 28 additions and 28 deletions

View File

@@ -613,7 +613,7 @@ class RPC:
stakeamount = self._freqtrade.wallets.get_trade_stake_amount(pair)
# execute buy
if self._freqtrade.execute_buy(pair, stakeamount, price, forcebuy=True):
if self._freqtrade.execute_entry(pair, stakeamount, price, forcebuy=True):
Trade.commit()
trade = Trade.get_trades([Trade.is_open.is_(True), Trade.pair == pair]).first()
return trade