chore: reduce pointless verbosity of cross liquidation update

This commit is contained in:
Matthias
2024-12-17 06:46:13 +01:00
parent e7b1a7e493
commit ca9589b2e8

View File

@@ -28,11 +28,11 @@ def update_liquidation_prices(
if dry_run: if dry_run:
# Parameters only needed for cross margin # Parameters only needed for cross margin
total_wallet_stake = wallets.get_collateral() total_wallet_stake = wallets.get_collateral()
logger.info( logger.info(
"Updating liquidation price for all open trades. " "Updating liquidation price for all open trades. "
f"Collateral {total_wallet_stake} {stake_currency}." f"Collateral {total_wallet_stake} {stake_currency}."
) )
open_trades: list[Trade] = Trade.get_open_trades() open_trades: list[Trade] = Trade.get_open_trades()
for t in open_trades: for t in open_trades:
# TODO: This should be done in a batch update # TODO: This should be done in a batch update