From 334e7553e1afbb664575f14c3cf3fd23a12f597d Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 29 Sep 2018 13:46:38 +0200 Subject: [PATCH] Fix hyperopt not working after update of scikit-learn to 0.20.0 --- freqtrade/strategy/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/strategy/__init__.py b/freqtrade/strategy/__init__.py index 38a110bd7..b29e26ef9 100644 --- a/freqtrade/strategy/__init__.py +++ b/freqtrade/strategy/__init__.py @@ -3,7 +3,8 @@ import sys from copy import deepcopy from freqtrade.strategy.interface import IStrategy - +# Import Default-Strategy to have hyperopt correctly resolve +from freqtrade.strategy.default_strategy import DefaultStrategy # noqa: F401 logger = logging.getLogger(__name__)