mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
chore: reduce pointless verbosity of cross liquidation update
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user