MOre tests for ParameterHyperopt

This commit is contained in:
Matthias
2021-03-29 19:27:19 +02:00
parent 929f329607
commit 6954a1e029
3 changed files with 21 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ from tests.conftest import patch_exchange
def hyperopt_conf(default_conf):
hyperconf = deepcopy(default_conf)
hyperconf.update({
'datadir': Path(default_conf['datadir']),
'hyperopt': 'DefaultHyperOpt',
'hyperopt_loss': 'ShortTradeDurHyperOptLoss',
'hyperopt_path': str(Path(__file__).parent / 'hyperopts'),
@@ -21,6 +22,7 @@ def hyperopt_conf(default_conf):
'timerange': None,
'spaces': ['default'],
'hyperopt_jobs': 1,
'hyperopt_min_trades': 1,
})
return hyperconf