From cedd38455f0e2da85a25cbae32b6bf11e02a9490 Mon Sep 17 00:00:00 2001 From: hroff-1902 Date: Fri, 14 Jun 2019 21:54:38 +0300 Subject: [PATCH] remove configuration from list-exchanges --- freqtrade/utils.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/freqtrade/utils.py b/freqtrade/utils.py index 394507059..45bd9fd3f 100644 --- a/freqtrade/utils.py +++ b/freqtrade/utils.py @@ -28,17 +28,13 @@ def setup_configuration(args: Namespace, method: RunMode) -> Dict[str, Any]: def start_list_exchanges(args: Namespace) -> None: """ - Start listing known exchanges + Print available exchanges :param args: Cli args from Arguments() :return: None """ - # Initialize configuration - _ = setup_configuration(args, RunMode.OTHER) - - logger.debug('Starting freqtrade in cli-util mode') - if args.print_one_column: print('\n'.join(supported_exchanges())) else: - print(f"Supported exchanges: {', '.join(supported_exchanges())}") + print(f"Exchanges supported by ccxt and available for Freqtrade: " + f"{', '.join(supported_exchanges())}")