update docs

This commit is contained in:
Matthias 2020-03-01 09:46:12 +01:00
parent 4d8430c687
commit 0f2d771634
1 changed files with 16 additions and 10 deletions

View File

@ -77,7 +77,7 @@ Results will be located in `user_data/strategies/<strategyclassname>.py`.
``` output ``` output
usage: freqtrade new-strategy [-h] [--userdir PATH] [-s NAME] usage: freqtrade new-strategy [-h] [--userdir PATH] [-s NAME]
[--template {full,minimal}] [--template {full,minimal,advanced}]
optional arguments: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
@ -86,10 +86,10 @@ optional arguments:
-s NAME, --strategy NAME -s NAME, --strategy NAME
Specify strategy class name which will be used by the Specify strategy class name which will be used by the
bot. bot.
--template {full,minimal} --template {full,minimal,advanced}
Use a template which is either `minimal` or `full` Use a template which is either `minimal`, `full`
(containing multiple sample indicators). Default: (containing multiple sample indicators) or `advanced`.
`full`. Default: `full`.
``` ```
@ -105,6 +105,12 @@ With custom user directory
freqtrade new-strategy --userdir ~/.freqtrade/ --strategy AwesomeStrategy freqtrade new-strategy --userdir ~/.freqtrade/ --strategy AwesomeStrategy
``` ```
Using the advanced template (populates all optional functions and methods)
```bash
freqtrade new-strategy --strategy AwesomeStrategy --template advanced
```
## Create new hyperopt ## Create new hyperopt
Creates a new hyperopt from a template similar to SampleHyperopt. Creates a new hyperopt from a template similar to SampleHyperopt.
@ -114,7 +120,7 @@ Results will be located in `user_data/hyperopts/<classname>.py`.
``` output ``` output
usage: freqtrade new-hyperopt [-h] [--userdir PATH] [--hyperopt NAME] usage: freqtrade new-hyperopt [-h] [--userdir PATH] [--hyperopt NAME]
[--template {full,minimal}] [--template {full,minimal,advanced}]
optional arguments: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
@ -122,10 +128,10 @@ optional arguments:
Path to userdata directory. Path to userdata directory.
--hyperopt NAME Specify hyperopt class name which will be used by the --hyperopt NAME Specify hyperopt class name which will be used by the
bot. bot.
--template {full,minimal} --template {full,minimal,advanced}
Use a template which is either `minimal` or `full` Use a template which is either `minimal`, `full`
(containing multiple sample indicators). Default: (containing multiple sample indicators) or `advanced`.
`full`. Default: `full`.
``` ```
### Sample usage of new-hyperopt ### Sample usage of new-hyperopt