Change command name, use load_backtest_stats for strategy resolving

This commit is contained in:
froggleston
2022-05-29 11:54:27 +01:00
parent c59209a01a
commit df1c36e5aa
4 changed files with 28 additions and 28 deletions

View File

@@ -56,7 +56,6 @@ def start_analysis_entries_exits(args: Dict[str, Any]) -> None:
process_entry_exit_reasons(Path(config['user_data_dir'], 'backtest_results'),
config['exchange']['pair_whitelist'],
config['strategy'],
config['analysis_groups'],
config['enter_reason_list'],
config['exit_reason_list'],

View File

@@ -101,8 +101,8 @@ ARGS_HYPEROPT_SHOW = ["hyperopt_list_best", "hyperopt_list_profitable", "hyperop
"print_json", "hyperoptexportfilename", "hyperopt_show_no_header",
"disableparamexport", "backtest_breakdown"]
ARGS_ANALYZE_ENTRIES_EXITS = ["analysis-groups", "enter-reason-list",
"exit-reason-list", "indicator-list"]
ARGS_ANALYZE_ENTRIES_EXITS = ["analysis_groups", "enter_reason_list",
"exit_reason_list", "indicator_list"]
NO_CONF_REQURIED = ["convert-data", "convert-trade-data", "download-data", "list-timeframes",
"list-markets", "list-pairs", "list-strategies", "list-data",
@@ -421,7 +421,8 @@ class Arguments:
self._build_args(optionlist=ARGS_WEBSERVER, parser=webserver_cmd)
# Add backtesting analysis subcommand
analysis_cmd = subparsers.add_parser('analysis', help='Backtest Analysis module.',
analysis_cmd = subparsers.add_parser('backtesting-analysis',
help='Backtest Analysis module.',
parents=[_common_parser, _strategy_parser])
analysis_cmd.set_defaults(func=start_analysis_entries_exits)
self._build_args(optionlist=ARGS_ANALYZE_ENTRIES_EXITS, parser=analysis_cmd)