From 0117c1de833a7e6a0754121c85c84c6faad46575 Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Wed, 2 Feb 2022 01:42:56 -0600 Subject: [PATCH] build_config_commands sorted exchanges --- freqtrade/commands/build_config_commands.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/freqtrade/commands/build_config_commands.py b/freqtrade/commands/build_config_commands.py index 76779b64a..a8cd99892 100644 --- a/freqtrade/commands/build_config_commands.py +++ b/freqtrade/commands/build_config_commands.py @@ -108,16 +108,14 @@ def ask_user_config() -> Dict[str, Any]: "name": "exchange_name", "message": "Select exchange", "choices": lambda x: [ - Separator("------ Spot and Perpetual Swaps/Futures -------"), "binance", - "gateio", - Separator("----------------- Spot Only -------------------"), - "okex", "binanceus", - "ftx", "bittrex", + "ftx", + "gateio", "kraken", "kucoin", + "okex", Separator("-----------------------------------------------"), "other", ], @@ -206,9 +204,9 @@ def ask_user_config() -> Dict[str, Any]: if not answers: # Interrupted questionary sessions return an empty dict. raise OperationalException("User interrupted interactive questions.") - answers["margin_mode"] = ( + answers['margin_mode'] = ( 'isolated' - if answers.get("trading_mode") == 'futures' + if answers.get('trading_mode') == 'futures' else '' ) # Force JWT token to be a random string