From d74543ac329fd74eb2b5d2273b2db42e6033c789 Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Sat, 10 Feb 2018 11:04:16 +0200 Subject: [PATCH] document the new --spaces flag for hyperopt --- docs/hyperopt.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/hyperopt.md b/docs/hyperopt.md index e24fdd621..05ed13734 100644 --- a/docs/hyperopt.md +++ b/docs/hyperopt.md @@ -179,6 +179,22 @@ Example: python3 ./freqtrade/main.py hyperopt --timeperiod -200 ``` +### Running hyperopt with smaller search space +Use the `--spaces` argument to limit the search space used by hyperopt. +Letting Hyperopt optimize everything is a huuuuge search space. Often it +might make more sense to start by just searching for initial buy algorithm. +Or maybe you just want to optimize your stoploss or roi table for that awesome +new buy strategy you have. + +Legal values are: + +- `all`: optimize everything +- `buy`: just search for a new buy strategy +- `sell`: not supported yet +- `roi`: just optimize the minimal profit table for your strategy +- `stoploss`: search for the best stoploss value +- comma-separated list of any of the above values for example `--spaces roi,stoploss` + ### Hyperopt with MongoDB Hyperopt with MongoDB, is like Hyperopt under steroids. As you saw by executing the previous command is the execution takes a long time.