Skip to content

Commit

Permalink
Align example of ROI in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hroff-1902 committed Sep 28, 2019
1 parent 45f5394 commit 2f005d6
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions docs/hyperopt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | |
Expand Down

0 comments on commit 2f005d6

Please sign in to comment.