Merge pull request #2014 from hroff-1902/fix-2013

Fix #2013
This commit is contained in:
Matthias 2019-07-12 08:14:46 +02:00 committed by GitHub
commit 4be02bc207
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -288,9 +288,8 @@ class Hyperopt(Backtesting):
(max_date - min_date).days
)
if self.has_space('buy') or self.has_space('sell'):
self.strategy.advise_indicators = \
self.custom_hyperopt.populate_indicators # type: ignore
self.strategy.advise_indicators = \
self.custom_hyperopt.populate_indicators # type: ignore
preprocessed = self.strategy.tickerdata_to_dataframe(data)