From 480d3876b8430ed8e7434f275c710ac24c3fb459 Mon Sep 17 00:00:00 2001 From: Matthias <5024695+xmatthias@users.noreply.github.com> Date: Thu, 15 Mar 2018 23:34:13 +0100 Subject: [PATCH] Align calling of freqtrade in backtesting and plotting docu (#554) --- docs/backtesting.md | 6 +++--- docs/plotting.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/backtesting.md b/docs/backtesting.md index a704f1cb9..b8da09226 100644 --- a/docs/backtesting.md +++ b/docs/backtesting.md @@ -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 diff --git a/docs/plotting.md b/docs/plotting.md index bbbe0fe16..80ab6866e 100644 --- a/docs/plotting.md +++ b/docs/plotting.md @@ -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 ```