Replace separate start/end date option with usual timerange option

This commit is contained in:
froggleston
2022-11-27 11:30:13 +00:00
parent 706bc9ebea
commit 1a3f88c7b9
6 changed files with 21 additions and 48 deletions

View File

@@ -106,8 +106,7 @@ ARGS_HYPEROPT_SHOW = ["hyperopt_list_best", "hyperopt_list_profitable", "hyperop
"disableparamexport", "backtest_breakdown"]
ARGS_ANALYZE_ENTRIES_EXITS = ["exportfilename", "analysis_groups", "enter_reason_list",
"exit_reason_list", "indicator_list",
"analysis_date_start", "analysis_date_end"]
"exit_reason_list", "indicator_list", "timerange"]
NO_CONF_REQURIED = ["convert-data", "convert-trade-data", "download-data", "list-timeframes",
"list-markets", "list-pairs", "list-strategies", "list-freqaimodels",

View File

@@ -658,16 +658,6 @@ AVAILABLE_CLI_OPTIONS = {
nargs='+',
default=[],
),
"analysis_date_start": Arg(
"--analysis-date-start",
help=("Start date to filter trades for analysis (inclusive). "
"e.g. '20220101'"),
),
"analysis_date_end": Arg(
"--analysis-date-end",
help=("End date to filter trades for analysis (exclusive). "
"e.g. '20220131'"),
),
"freqaimodel": Arg(
'--freqaimodel',
help='Specify a custom freqaimodels.',