diff --git a/freqtrade/commands/automation_commands.py b/freqtrade/commands/automation_commands.py index d930c4851..74cb2cca6 100644 --- a/freqtrade/commands/automation_commands.py +++ b/freqtrade/commands/automation_commands.py @@ -25,6 +25,9 @@ logger = logging.getLogger(__name__) def extract_dicts(strategypath: Path): + """ + Get the indicators, their aims and the stoploss and format them into dictionaries + """ # store the file in a list for reference stored_file = [] with open(strategypath) as file: diff --git a/freqtrade/commands/cli_options.py b/freqtrade/commands/cli_options.py index 7ad21cc6e..461ce8d32 100644 --- a/freqtrade/commands/cli_options.py +++ b/freqtrade/commands/cli_options.py @@ -279,13 +279,13 @@ AVAILABLE_CLI_OPTIONS = { "buy_indicators": Arg( '-b', '--buy-indicators', help='Specify the buy indicators the hyperopt should build. ' - 'Example: --buy-indicators `{"rsi":"above","bb_lowerband":"below"}`', + 'Example: --buy-indicators `{"rsi":"<","bb_lowerband":">"}`', metavar='DICT', ), "sell_indicators": Arg( '-s', '--sell-indicators', help='Specify the sell indicators the hyperopt should build. ' - 'Example: --sell-indicators `{"rsi":"above","bb_lowerband":"below"}`', + 'Example: --sell-indicators `{"rsi":">","bb_lowerband":"<"}`', metavar='DICT', ), "extract_name": Arg(