From ca390eea6acacfc32f9557d6da369205259a0004 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 6 Apr 2025 14:26:03 +0200 Subject: [PATCH] refactor: move import to list_exchanges function --- freqtrade/commands/list_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/commands/list_commands.py b/freqtrade/commands/list_commands.py index 846b97693..6a1ca819d 100644 --- a/freqtrade/commands/list_commands.py +++ b/freqtrade/commands/list_commands.py @@ -5,7 +5,6 @@ from typing import Any from freqtrade.enums import RunMode from freqtrade.exceptions import ConfigurationError, OperationalException -from freqtrade.ft_types import ValidExchangesType logger = logging.getLogger(__name__) @@ -21,6 +20,7 @@ def start_list_exchanges(args: dict[str, Any]) -> None: from rich.text import Text from freqtrade.exchange import list_available_exchanges + from freqtrade.ft_types import ValidExchangesType from freqtrade.loggers.rich_console import get_rich_console available_exchanges: list[ValidExchangesType] = list_available_exchanges(