From 8bf314202f98521b73823a23f7779c85fbcc3021 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 31 Aug 2024 16:35:47 +0200 Subject: [PATCH] chore: simplify call to liquidation price for cross futures --- freqtrade/leverage/liquidation_price.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/leverage/liquidation_price.py b/freqtrade/leverage/liquidation_price.py index 027cd74a6..03ac4af0f 100644 --- a/freqtrade/leverage/liquidation_price.py +++ b/freqtrade/leverage/liquidation_price.py @@ -43,7 +43,7 @@ def update_liquidation_prices( stake_amount=t.stake_amount, leverage=trade.leverage, wallet_balance=total_wallet_stake, - open_trades=[tr for tr in open_trades], + open_trades=open_trades, ) ) elif trade: