From 2f005d6be96dcc8d98abcca813a9c10eb5a99eb9 Mon Sep 17 00:00:00 2001 From: hroff-1902 <47309513+hroff-1902@users.noreply.github.com> Date: Sat, 28 Sep 2019 11:56:19 +0300 Subject: [PATCH] Align example of ROI in the docs --- docs/hyperopt.md | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/docs/hyperopt.md b/docs/hyperopt.md index 45528edab..beef414bf 100644 --- a/docs/hyperopt.md +++ b/docs/hyperopt.md @@ -375,23 +375,12 @@ Buy hyperspace params: 'rsi-enabled': True, 'trigger': 'bb_lower'} ROI table: -{ 0: 0.10674752302642071, - 21: 0.09158372701087236, - 78: 0.03634636907306948, +{ 0: 0.10674, + 21: 0.09158, + 78: 0.03634, 118: 0} ``` -This would translate to the following ROI table: - -``` python -minimal_roi = { - "118": 0, - "78": 0.0363, - "21": 0.0915, - "0": 0.106 - } -``` - If you are optimizing ROI, Freqtrade creates the 'roi' optimization hyperspace for you -- it's the hyperspace of components for the ROI tables. By default, each ROI table generated by the Freqtrade consists of 4 rows (steps). Hyperopt implements adaptive ranges for ROI tables with ranges for values in the ROI steps that depend on the ticker_interval used. By default the values can vary in the following ranges (for some of the most used ticker intervals, values are rounded to 5 digits after the decimal point): | # step | 1m | | 5m | | 1h | | 1d | |