Merge pull request #458 from seansan/patch-7

Backtest with **With a (custom) strategy file**
This commit is contained in:
Gérald LONLAS 2018-01-28 14:59:28 -08:00 committed by GitHub
commit a0dea5a51f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,12 @@ python3 ./freqtrade/main.py backtesting --realistic-simulation --live
python3 ./freqtrade/main.py backtesting --datadir freqtrade/tests/testdata-20180101
```
**With a (custom) strategy file**
```bash
python3.6 ./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