mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
deleted outdated todos
This commit is contained in:
parent
412fe65344
commit
33b04b1992
|
@ -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):
|
||||
"""
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user