Simplify output
This commit is contained in:
@@ -57,11 +57,12 @@ def start_list_exchanges(args: Dict[str, Any]) -> None:
|
|||||||
|
|
||||||
if args["list_exchanges_all"]:
|
if args["list_exchanges_all"]:
|
||||||
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):")
|
title = f"All exchanges supported by the ccxt library ({len(exchanges)} exchanges):"
|
||||||
else:
|
else:
|
||||||
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):")
|
title = f"Exchanges available for Freqtrade ({len(exchanges)} exchanges):"
|
||||||
|
|
||||||
|
print(title)
|
||||||
print(
|
print(
|
||||||
tabulate(
|
tabulate(
|
||||||
exchanges,
|
exchanges,
|
||||||
|
|||||||
Reference in New Issue
Block a user