From 6abc0a3fb96c2374a2ca0f0133206d51ca74e2dc Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 17 Aug 2025 15:13:05 +0200 Subject: [PATCH] docs: update wording in documentation --- docs/advanced-backtesting.md | 10 +++++----- docs/backtesting.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/advanced-backtesting.md b/docs/advanced-backtesting.md index aac865422..b76ad660e 100644 --- a/docs/advanced-backtesting.md +++ b/docs/advanced-backtesting.md @@ -46,29 +46,29 @@ ranging from the simplest (0) to the most detailed per pair, per buy and per sel More options are available by running with the `-h` option. -### Using export-filename +### Using backtest-filename Normally, `backtesting-analysis` uses the latest backtest results, but if you wanted to go -back to a previous backtest output, you need to supply the `--export-filename` option. +back to a previous backtest output, you need to supply the `--backtest-filename` option. You can supply the same parameter to `backtest-analysis` with the name of the final backtest output file. This allows you to keep historical versions of backtest results and re-analyse them at a later date: ``` bash -freqtrade backtesting-analysis -c --timeframe --strategy --timerange= --export=signals --export-filename=user_data/backtest-results/backtest-result-2025-03-05_20-38-34.zip +freqtrade backtesting-analysis -c --timeframe --strategy --timerange= --export=signals --backtest-filename=backtest-result-2025-03-05_20-38-34.zip ``` You should see some output similar to below in the logs with the name of the timestamped filename that was exported: ``` -2022-06-14 16:28:32,698 - freqtrade.misc - INFO - dumping json to "/tmp/mystrat_backtest-2022-06-14_16-28-32.json" +2022-06-14 16:28:32,698 - freqtrade.misc - INFO - dumping json to "mystrat_backtest-2022-06-14_16-28-32.json" ``` You can then use that filename in `backtesting-analysis`: ``` -freqtrade backtesting-analysis -c --export-filename=/tmp/mystrat_backtest-2022-06-14_16-28-32.json +freqtrade backtesting-analysis -c --backtest-filename=mystrat_backtest-2022-06-14_16-28-32.json ``` ### Tuning the buy tags and sell tags to display diff --git a/docs/backtesting.md b/docs/backtesting.md index 41956b12d..5e9d285e1 100644 --- a/docs/backtesting.md +++ b/docs/backtesting.md @@ -108,7 +108,7 @@ Only use this if you're sure you'll not want to plot or analyze your results fur Exporting trades to file specifying a custom directory ```bash -freqtrade backtesting --strategy backtesting --export trades --export-filename=user_data/custom-backtest-results +freqtrade backtesting --strategy backtesting --export trades --backtest-directory=user_data/custom-backtest-results ``` ---