Make it clear in samples that strategy is mandatory
This commit is contained in:
parent
15bb0af1b3
commit
17e605e130
@ -27,9 +27,9 @@ class MyAwesomeHyperOpt2(MyAwesomeHyperOpt):
|
|||||||
and then quickly switch between hyperopt classes, running optimization process with hyperopt class you need in each particular case:
|
and then quickly switch between hyperopt classes, running optimization process with hyperopt class you need in each particular case:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ freqtrade hyperopt --hyperopt MyAwesomeHyperOpt ...
|
$ freqtrade hyperopt --hyperopt MyAwesomeHyperOpt --strategy MyAwesomeStrategy ...
|
||||||
or
|
or
|
||||||
$ freqtrade hyperopt --hyperopt MyAwesomeHyperOpt2 ...
|
$ freqtrade hyperopt --hyperopt MyAwesomeHyperOpt2 --strategy MyAwesomeStrategy ...
|
||||||
```
|
```
|
||||||
|
|
||||||
## Creating and using a custom loss function
|
## Creating and using a custom loss function
|
||||||
|
@ -140,13 +140,7 @@ Since hyperopt uses Bayesian search, running for too many epochs may not produce
|
|||||||
It's therefore recommended to run between 500-1000 epochs over and over until you hit at least 10.000 epochs in total (or are satisfied with the result). You can best judge by looking at the results - if the bot keeps discovering better strategies, it's best to keep on going.
|
It's therefore recommended to run between 500-1000 epochs over and over until you hit at least 10.000 epochs in total (or are satisfied with the result). You can best judge by looking at the results - if the bot keeps discovering better strategies, it's best to keep on going.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
freqtrade hyperopt -e 1000
|
freqtrade hyperopt --hyperop SampleHyperopt --strategy SampleStrategy -e 1000
|
||||||
```
|
|
||||||
|
|
||||||
or if you want intermediate result to see
|
|
||||||
|
|
||||||
```bash
|
|
||||||
for i in {1..100}; do freqtrade hyperopt -e 1000; done
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Why does it take a long time to run hyperopt?
|
### Why does it take a long time to run hyperopt?
|
||||||
|
@ -229,7 +229,7 @@ Because hyperopt tries a lot of combinations to find the best parameters it will
|
|||||||
We strongly recommend to use `screen` or `tmux` to prevent any connection loss.
|
We strongly recommend to use `screen` or `tmux` to prevent any connection loss.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
freqtrade hyperopt --config config.json --hyperopt <hyperoptname> -e 500 --spaces all
|
freqtrade hyperopt --config config.json --hyperopt <hyperoptname> --strategy <strategyname> -e 500 --spaces all
|
||||||
```
|
```
|
||||||
|
|
||||||
Use `<hyperoptname>` as the name of the custom hyperopt used.
|
Use `<hyperoptname>` as the name of the custom hyperopt used.
|
||||||
@ -255,7 +255,7 @@ Use the `--timerange` argument to change how much of the test-set you want to us
|
|||||||
For example, to use one month of data, pass the following parameter to the hyperopt call:
|
For example, to use one month of data, pass the following parameter to the hyperopt call:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
freqtrade hyperopt --timerange 20180401-20180501
|
freqtrade hyperopt --hyperopt <hyperoptname> --strategy <strategyname> --timerange 20180401-20180501
|
||||||
```
|
```
|
||||||
|
|
||||||
### Running Hyperopt using methods from a strategy
|
### Running Hyperopt using methods from a strategy
|
||||||
|
Loading…
Reference in New Issue
Block a user