refactor: rename dry-liquidation parameter

passing all open trades will be more flexible for the future.
This commit is contained in:
Matthias
2024-08-31 08:20:14 +02:00
parent 45e75f3d09
commit 1473abf19a
5 changed files with 12 additions and 12 deletions

View File

@@ -6009,7 +6009,7 @@ def test_get_liquidation_price1(mocker, default_conf):
stake_amount=18.884 * 0.8,
leverage=leverage,
wallet_balance=18.884 * 0.8,
other_trades=[],
open_trades=[],
)
@@ -6140,7 +6140,7 @@ def test_get_liquidation_price(
wallet_balance=amount * open_rate / leverage,
leverage=leverage,
is_short=is_short,
other_trades=[],
open_trades=[],
)
if expected_liq is None:
assert liq is None