From ca9589b2e8e702dcc39d604764010c15765f9478 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 17 Dec 2024 06:46:13 +0100 Subject: [PATCH] chore: reduce pointless verbosity of cross liquidation update --- freqtrade/leverage/liquidation_price.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/freqtrade/leverage/liquidation_price.py b/freqtrade/leverage/liquidation_price.py index b48190d84..5440da64a 100644 --- a/freqtrade/leverage/liquidation_price.py +++ b/freqtrade/leverage/liquidation_price.py @@ -28,11 +28,11 @@ def update_liquidation_prices( if dry_run: # Parameters only needed for cross margin total_wallet_stake = wallets.get_collateral() + logger.info( + "Updating liquidation price for all open trades. " + f"Collateral {total_wallet_stake} {stake_currency}." + ) - logger.info( - "Updating liquidation price for all open trades. " - f"Collateral {total_wallet_stake} {stake_currency}." - ) open_trades: list[Trade] = Trade.get_open_trades() for t in open_trades: # TODO: This should be done in a batch update