mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-16 19:20:31 +00:00
feat: add exportdirectory to entry/exit analysis
This commit is contained in:
@@ -239,6 +239,7 @@ ARGS_HYPEROPT_SHOW = [
|
||||
|
||||
ARGS_ANALYZE_ENTRIES_EXITS = [
|
||||
"exportfilename",
|
||||
"exportdirectory",
|
||||
"analysis_groups",
|
||||
"enter_reason_list",
|
||||
"exit_reason_list",
|
||||
|
||||
@@ -473,13 +473,7 @@ def load_backtest_analysis_data(
|
||||
"""
|
||||
import joblib
|
||||
|
||||
zip_path = _normalize_filename(file_or_directory, None)
|
||||
|
||||
if file_or_directory.is_dir():
|
||||
lbf = Path(get_latest_backtest_filename(file_or_directory))
|
||||
zip_path = file_or_directory / lbf
|
||||
else:
|
||||
zip_path = file_or_directory
|
||||
zip_path = _normalize_filename(file_or_directory, filename)
|
||||
|
||||
if zip_path.suffix == ".zip":
|
||||
# Load from zip file
|
||||
|
||||
Reference in New Issue
Block a user