fix: don't use different configuration keys, just add as 2nd argument

This commit is contained in:
Joe Schr
2022-02-02 12:45:03 +01:00
parent a3e045f69d
commit e84a58de28
4 changed files with 5 additions and 22 deletions

View File

@@ -74,8 +74,7 @@ ARGS_PLOT_DATAFRAME = ["pairs", "indicators1", "indicators2", "plot_limit",
"db_url", "trade_source", "export", "exportfilename",
"timerange", "timeframe", "no_trades"]
ARGS_PLOT_PROFIT = ["pairs", "timerange", "export", "exportfilename", "backtestfilename", "db_url",
"trade_source", "timeframe", "plot_auto_open"]
ARGS_PLOT_PROFIT = [ "pairs", "timerange", "export", "exportfilename", "db_url", "trade_source", "timeframe", "plot_auto_open", ]
ARGS_INSTALL_UI = ["erase_ui_only", 'ui_version']

View File

@@ -183,17 +183,12 @@ AVAILABLE_CLI_OPTIONS = {
),
"exportfilename": Arg(
"--export-filename",
help="Save backtest results to the file with this filename. "
"--backtest-filename",
help="Use this filename for backtest results."
"Requires `--export` to be set as well. "
"Example: `--export-filename=user_data/backtest_results/backtest_today.json`",
metavar="PATH",
),
"backtestfilename": Arg(
"--backtest-filename",
help="Use backtest results from this filename."
"Example: `--backtest-filename=user_data/backtest_results/backtest_today.json`",
metavar="PATH",
),
"disableparamexport": Arg(
'--disable-param-export',
help="Disable automatic hyperopt parameter export.",