From 1da008b3aff2d498044e92bf0b50e612a18eb416 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 5 Dec 2019 20:44:12 +0100 Subject: [PATCH] Document "quick" hyperopt of roi/stoploss and trailing stoploss --- docs/hyperopt.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/hyperopt.md b/docs/hyperopt.md index 0661896a0..befd448bb 100644 --- a/docs/hyperopt.md +++ b/docs/hyperopt.md @@ -50,6 +50,16 @@ Rarely you may also need to override: * `stoploss_space` - for custom stoploss optimization (if you need the range for the stoploss parameter in the optimization hyperspace that differs from default) * `trailing_space` - for custom trailing stop optimization (if you need the ranges for the trailing stop parameters in the optimization hyperspace that differ from default) +!!! Tip "Quickly optimize ROI, stoploss and trailing stoploss" + You can quickly optimize the spaces `roi`, `stoploss` and `trailing_stoploss` without changing anything from the default hyperopt template by relying on your strategy to do most of the calculations. + + ``` python + # Have a working strategy at hand. + freqtrade new-hyperopt --hyperopt EmptyHyperopt + + freqtrade hyperopt --hyperopt EmptyHyperopt --spaces roi stoploss trailing --strategy MyWorkingStrategy --config config.json -e 100 + ``` + ### 1. Install a Custom Hyperopt File Put your hyperopt file into the directory `user_data/hyperopts`.