adapt README
This commit is contained in:
parent
2fe11cd77a
commit
68521ea46c
3
.gitignore
vendored
3
.gitignore
vendored
@ -76,7 +76,8 @@ target/
|
||||
config.json
|
||||
preprocessor.py
|
||||
*.sqlite
|
||||
.mongodb
|
||||
.hyperopt
|
||||
logfile.txt
|
||||
|
||||
.env
|
||||
.venv
|
||||
|
28
README.md
28
README.md
@ -164,25 +164,39 @@ optional arguments:
|
||||
Backtesting also uses the config specified via `-c/--config`.
|
||||
|
||||
```
|
||||
usage: freqtrade backtesting [-h] [-l] [-i INT]
|
||||
usage: freqtrade backtesting [-h] [-l] [-i INT] [--realistic-simulation]
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
-l, --live using live data
|
||||
-i INT, --ticker-interval INT
|
||||
specify ticker interval in minutes (default: 5)
|
||||
--realistic-simulation
|
||||
uses max_open_trades from config to simulate real
|
||||
world limitations
|
||||
|
||||
```
|
||||
|
||||
### Hyperopt
|
||||
|
||||
It is possible to use hyperopt for trading strategy optimization.
|
||||
Hyperopt uses an internal config named `OPTIMIZE_CONFIG` located in `freqtrade/optimize/hyperopt.py`.
|
||||
|
||||
```
|
||||
usage: freqtrade hyperopt [-h] [-e INT] [--use-mongodb]
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
-e INT, --epochs INT specify number of epochs (default: 100)
|
||||
--use-mongodb parallelize evaluations with mongodb (requires mongod
|
||||
in PATH)
|
||||
|
||||
```
|
||||
|
||||
### Execute tests
|
||||
|
||||
```
|
||||
$ pytest
|
||||
```
|
||||
This will by default skip the slow running backtest set. To run backtest set:
|
||||
|
||||
```
|
||||
$ BACKTEST=true pytest -s freqtrade/tests/test_backtesting.py
|
||||
$ pytest freqtrade
|
||||
```
|
||||
|
||||
### Contributing
|
||||
|
Loading…
Reference in New Issue
Block a user