diff --git a/freqtrade/commands/list_commands.py b/freqtrade/commands/list_commands.py index 97be7bac6..153b1054d 100644 --- a/freqtrade/commands/list_commands.py +++ b/freqtrade/commands/list_commands.py @@ -57,11 +57,12 @@ def start_list_exchanges(args: Dict[str, Any]) -> None: if args["list_exchanges_all"]: exchanges = [build_entry(e, True) for e in exchanges] - print(f"All exchanges supported by the ccxt library ({len(exchanges)} exchanges):") + title = f"All exchanges supported by the ccxt library ({len(exchanges)} exchanges):" else: exchanges = [build_entry(e, False) for e in exchanges if e["valid"] is not False] - print(f"Exchanges available for Freqtrade ({len(exchanges)} exchanges):") + title = f"Exchanges available for Freqtrade ({len(exchanges)} exchanges):" + print(title) print( tabulate( exchanges,