From 3a905e3d599e924759fdcb42287eaf469de018de Mon Sep 17 00:00:00 2001 From: seansan Date: Sun, 28 Jan 2018 14:51:45 +0100 Subject: [PATCH 1/2] BAcktest with **With a (custom) strategy file** --- docs/backtesting.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/backtesting.md b/docs/backtesting.md index 8b12b04e8..f93e860ba 100644 --- a/docs/backtesting.md +++ b/docs/backtesting.md @@ -51,6 +51,11 @@ 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 ./freqtrade/main.py backtesting -s your-strategy-filename-without-py-extention +``` + **Exporting trades to file** ```bash freqtrade backtesting --export trades From fe730a3db0793c747bc642f02ce2208a84d5d4f5 Mon Sep 17 00:00:00 2001 From: seansan Date: Sun, 28 Jan 2018 15:20:38 +0100 Subject: [PATCH 2/2] Update backtesting.md --- docs/backtesting.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/backtesting.md b/docs/backtesting.md index f93e860ba..a704f1cb9 100644 --- a/docs/backtesting.md +++ b/docs/backtesting.md @@ -53,8 +53,9 @@ python3 ./freqtrade/main.py backtesting --datadir freqtrade/tests/testdata-20180 **With a (custom) strategy file** ```bash -python3 ./freqtrade/main.py backtesting -s your-strategy-filename-without-py-extention +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