Merge pull request #2137 from hroff-1902/hyperopt-adaptive-roi-space

Hyperopt: adaptive roi_space
This commit is contained in:
Matthias
2019-09-06 06:26:52 +02:00
committed by GitHub
6 changed files with 128 additions and 34 deletions

View File

@@ -35,7 +35,7 @@ class HyperOptResolver(IResolver):
extra_dir=config.get('hyperopt_path'))
# Assign ticker_interval to be used in hyperopt
self.hyperopt.__class__.ticker_interval = str(config['ticker_interval'])
IHyperOpt.ticker_interval = str(config['ticker_interval'])
if not hasattr(self.hyperopt, 'populate_buy_trend'):
logger.warning("Custom Hyperopt does not provide populate_buy_trend. "