From 9d471f3c9a2260bfac1be01e4655fdf0226fe4f3 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 6 Aug 2019 06:27:38 +0200 Subject: [PATCH] Fix documentation for strategy-list --- docs/backtesting.md | 10 +++++++++- docs/bot-usage.md | 2 +- freqtrade/configuration/cli_options.py | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/backtesting.md b/docs/backtesting.md index 179bcee15..7e9f7ff53 100644 --- a/docs/backtesting.md +++ b/docs/backtesting.md @@ -57,7 +57,15 @@ freqtrade backtesting --datadir freqtrade/tests/testdata-20180101 freqtrade -s TestStrategy backtesting ``` -Where `-s TestStrategy` refers to the class name within the strategy file `test_strategy.py` found in the `freqtrade/user_data/strategies` directory +Where `-s TestStrategy` refers to the class name within the strategy file `test_strategy.py` found in the `freqtrade/user_data/strategies` directory. + +#### Comparing multiple Strategies + +```bash +freqtrade backtesting --strategy-list TestStrategy1 AwesomeStrategy --ticker-interval 5m +``` + +Where `TestStrategy1` and `AwesomeStrategy` refer to class names of strategies. #### Exporting trades to file diff --git a/docs/bot-usage.md b/docs/bot-usage.md index 8877ed010..0ca2f3cc5 100644 --- a/docs/bot-usage.md +++ b/docs/bot-usage.md @@ -165,7 +165,7 @@ optional arguments: number). -l, --live Use live data. --strategy-list STRATEGY_LIST [STRATEGY_LIST ...] - Provide a commaseparated list of strategies to + Provide a space-separated list of strategies to backtest Please note that ticker-interval needs to be set either in config or via command line. When using this together with --export trades, the strategy-name diff --git a/freqtrade/configuration/cli_options.py b/freqtrade/configuration/cli_options.py index 04fde2051..04554c386 100644 --- a/freqtrade/configuration/cli_options.py +++ b/freqtrade/configuration/cli_options.py @@ -130,7 +130,7 @@ AVAILABLE_CLI_OPTIONS = { ), "strategy_list": Arg( '--strategy-list', - help='Provide a comma-separated list of strategies to backtest. ' + help='Provide a space-separated list of strategies to backtest. ' 'Please note that ticker-interval needs to be set either in config ' 'or via command line. When using this together with `--export trades`, ' 'the strategy-name is injected into the filename '