adapt README

This commit is contained in:
gcarq 2017-11-25 03:28:39 +01:00
parent 2fe11cd77a
commit 68521ea46c
2 changed files with 24 additions and 9 deletions

3
.gitignore vendored
View File

@ -76,7 +76,8 @@ target/
config.json config.json
preprocessor.py preprocessor.py
*.sqlite *.sqlite
.mongodb .hyperopt
logfile.txt
.env .env
.venv .venv

View File

@ -164,25 +164,39 @@ optional arguments:
Backtesting also uses the config specified via `-c/--config`. 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: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
-l, --live using live data -l, --live using live data
-i INT, --ticker-interval INT -i INT, --ticker-interval INT
specify ticker interval in minutes (default: 5) 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 ### Execute tests
``` ```
$ pytest $ pytest freqtrade
```
This will by default skip the slow running backtest set. To run backtest set:
```
$ BACKTEST=true pytest -s freqtrade/tests/test_backtesting.py
``` ```
### Contributing ### Contributing