mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-09-20 09:31:12 +00:00
Simplify output
This commit is contained in:
parent
7a67771e46
commit
6b98bfe9b7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user