create and use hyperopt-results folder

This commit is contained in:
Matthias
2019-07-31 07:07:46 +02:00
parent 5d22d541f2
commit 8cef567abc
4 changed files with 7 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ def create_datadir(config: Dict[str, Any], datadir: Optional[str] = None) -> str
def create_userdata_dir(directory: str) -> Path:
sub_dirs = ["backtest_results", "data", "hyperopts", "plot", "strategies", ]
sub_dirs = ["backtest_results", "data", "hyperopts", "hyperopt_results", "plot", "strategies", ]
folder = Path(directory)
if not folder.is_dir():
folder.mkdir(parents=True)