From a3a045dbd4a650b35d1430ab4609bd1947354a01 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 25 Apr 2020 15:54:23 +0200 Subject: [PATCH 1/2] Add small section noting that a strategy file is always necessary fix #3047 --- docs/hyperopt.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/hyperopt.md b/docs/hyperopt.md index 30a22a969..55d2d984c 100644 --- a/docs/hyperopt.md +++ b/docs/hyperopt.md @@ -63,6 +63,9 @@ Optional - can also be loaded from a strategy: !!! Note Assuming the optional methods are not in your hyperopt file, please use `--strategy AweSomeStrategy` which contains these methods so hyperopt can use these methods instead. +!!! Note + You will always have to provide a strategy to Hyperopt even if it contains all methods. + Rarely you may also need to override: * `roi_space` - for custom ROI optimization (if you need the ranges for the ROI parameters in the optimization hyperspace that differ from default) From e928c5fdaf3c46588ecb427427ff2c848104d16b Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 27 Apr 2020 07:15:37 +0200 Subject: [PATCH 2/2] Update docs/hyperopt.md Co-Authored-By: hroff-1902 <47309513+hroff-1902@users.noreply.github.com> --- docs/hyperopt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hyperopt.md b/docs/hyperopt.md index 55d2d984c..11161e58b 100644 --- a/docs/hyperopt.md +++ b/docs/hyperopt.md @@ -64,7 +64,7 @@ Optional - can also be loaded from a strategy: Assuming the optional methods are not in your hyperopt file, please use `--strategy AweSomeStrategy` which contains these methods so hyperopt can use these methods instead. !!! Note - You will always have to provide a strategy to Hyperopt even if it contains all methods. + You always have to provide a strategy to Hyperopt, even if your custom Hyperopt class contains all methods. Rarely you may also need to override: