From 564d8748696b180068c2b3fed57314f2a18542f9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 19 Dec 2024 19:25:00 +0100 Subject: [PATCH] chore: improve typing --- 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 4b49e4551..b48190d84 100644 --- a/freqtrade/leverage/liquidation_price.py +++ b/freqtrade/leverage/liquidation_price.py @@ -33,7 +33,7 @@ def update_liquidation_prices( "Updating liquidation price for all open trades. " f"Collateral {total_wallet_stake} {stake_currency}." ) - open_trades = Trade.get_open_trades() + open_trades: list[Trade] = Trade.get_open_trades() for t in open_trades: # TODO: This should be done in a batch update t.set_liquidation_price(