Improve wording for list-exchanges command

This commit is contained in:
Matthias
2024-07-06 10:52:03 +02:00
parent f3e2dcd342
commit bfe18573f3

View File

@@ -56,11 +56,11 @@ def start_list_exchanges(args: Dict[str, Any]) -> None:
return result return result
if args["list_exchanges_all"]: if args["list_exchanges_all"]:
print("All exchanges supported by the ccxt library:")
exchanges = [build_entry(e, True) for e in exchanges] exchanges = [build_entry(e, True) for e in exchanges]
print(f"All exchanges supported by the ccxt library ({len(exchanges)} exchanges):")
else: else:
print("Exchanges available for Freqtrade:")
exchanges = [build_entry(e, False) for e in exchanges if e["valid"] is not False] exchanges = [build_entry(e, False) for e in exchanges if e["valid"] is not False]
print(f"Exchanges available for Freqtrade ({len(exchanges)} exchanges):")
print( print(
tabulate( tabulate(