naming updates

This commit is contained in:
Bo van Hasselt 2021-02-20 00:58:25 +01:00
parent cdd0168608
commit 970b0028c1
2 changed files with 5 additions and 2 deletions

View File

@ -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:

View File

@ -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(