Align calling of freqtrade in backtesting and plotting docu (#554)

This commit is contained in:
Matthias 2018-03-15 23:34:13 +01:00 committed by Michael Egger
parent ab93a61066
commit 480d3876b8
2 changed files with 4 additions and 4 deletions

View File

@ -53,13 +53,13 @@ python3 ./freqtrade/main.py backtesting --datadir freqtrade/tests/testdata-20180
**With a (custom) strategy file**
```bash
python3.6 ./freqtrade/main.py -s currentstrategy backtesting
python3 ./freqtrade/main.py -s currentstrategy backtesting
```
Where `-s currentstrategy` refers to a filename `currentstrategy.py` in `freqtrade/user_data/strategies`
**Exporting trades to file**
```bash
freqtrade backtesting --export trades
python3 ./freqtrade/main.py backtesting --export trades
```
**Running backtest with smaller testset**
@ -99,7 +99,7 @@ cd user_data/data-20180113
Possibly edit pairs.json file to include/exclude pairs
```bash
python freqtrade/tests/testdata/download_backtest_data.py -p pairs.json
python3 freqtrade/tests/testdata/download_backtest_data.py -p pairs.json
```
The script will read your pairs.json file, and download ticker data

View File

@ -73,5 +73,5 @@ The `-p` pair argument, can be used to plot a single pair
Example
```
python3.6 scripts/plot_profit.py --datadir ../freqtrade/freqtrade/tests/testdata-20171221/ -p BTC_LTC
python3 scripts/plot_profit.py --datadir ../freqtrade/freqtrade/tests/testdata-20171221/ -p BTC_LTC
```