Merge pull request #6375 from samgermain/todos

deleted outdated todos
This commit is contained in:
Matthias 2022-02-07 15:24:20 +01:00 committed by GitHub
commit ce9de243b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)