deleted outdated todos

This commit is contained in:
Sam Germain 2022-02-07 02:47:18 -06:00
parent 412fe65344
commit 33b04b1992
2 changed files with 1 additions and 2 deletions

View File

@ -750,7 +750,7 @@ class Exchange:
return self._get_stake_amount_considering_leverage(
max(stake_limits) * amount_reserve_percent,
leverage or 1.0
) if isMin else min(stake_limits) # TODO-lev: Account 4 max_reserve_percent in max limits?
) if isMin else min(stake_limits)
def _get_stake_amount_considering_leverage(self, stake_amount: float, leverage: float):
"""

View File

@ -497,7 +497,6 @@ def test_backtesting_pairlist_list(default_conf, mocker, caplog, testdatadir, ti
def test_backtest__enter_trade(default_conf, fee, mocker) -> None:
# TODO-lev: test max_pair_stake_amount
default_conf['use_sell_signal'] = False
mocker.patch('freqtrade.exchange.Exchange.get_fee', fee)
mocker.patch("freqtrade.exchange.Exchange.get_min_pair_stake_amount", return_value=0.00001)