Deployed d4ee725 to develop in en with MkDocs 1.6.1 and mike 2.1.3

This commit is contained in:
github-actions[bot]
2025-08-18 04:47:36 +00:00
parent a03f75b0ad
commit 276d41450a
8 changed files with 102 additions and 68 deletions

View File

@@ -1233,9 +1233,9 @@
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#using-export-filename" class="md-nav__link">
<a href="#using-backtest-filename" class="md-nav__link">
<span class="md-ellipsis">
Using export-filename
Using backtest-filename
</span>
</a>
@@ -1732,9 +1732,9 @@
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#using-export-filename" class="md-nav__link">
<a href="#using-backtest-filename" class="md-nav__link">
<span class="md-ellipsis">
Using export-filename
Using backtest-filename
</span>
</a>
@@ -1874,20 +1874,20 @@ ranging from the simplest (0) to the most detailed per pair, per buy and per sel
<li>5: profit summaries grouped by exit_tag</li>
</ul>
<p>More options are available by running with the <code>-h</code> option.</p>
<h3 id="using-export-filename">Using export-filename<a class="headerlink" href="#using-export-filename" title="Permanent link">&para;</a></h3>
<p>Normally, <code>backtesting-analysis</code> uses the latest backtest results, but if you wanted to go
back to a previous backtest output, you need to supply the <code>--export-filename</code> option.
You can supply the same parameter to <code>backtest-analysis</code> 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:</p>
<div class="highlight"><pre><span></span><code>freqtrade<span class="w"> </span>backtesting-analysis<span class="w"> </span>-c<span class="w"> </span>&lt;config.json&gt;<span class="w"> </span>--timeframe<span class="w"> </span>&lt;tf&gt;<span class="w"> </span>--strategy<span class="w"> </span>&lt;strategy_name&gt;<span class="w"> </span>--timerange<span class="o">=</span>&lt;timerange&gt;<span class="w"> </span>--export<span class="o">=</span>signals<span class="w"> </span>--export-filename<span class="o">=</span>user_data/backtest-results/backtest-result-2025-03-05_20-38-34.zip
<h3 id="using-backtest-filename">Using backtest-filename<a class="headerlink" href="#using-backtest-filename" title="Permanent link">&para;</a></h3>
<p>By default, <code>backtesting-analysis</code> processes the most recent backtest results in the <code>user_data/backtest_results</code> directory.
If you want to analyze results from an earlier backtest, use the <code>--backtest-filename</code> option to specify the desired file. This lets you revisit and re-analyze historical backtest outputs at any time by providing the filename of the relevant backtest result:</p>
<div class="highlight"><pre><span></span><code>freqtrade<span class="w"> </span>backtesting-analysis<span class="w"> </span>-c<span class="w"> </span>&lt;config.json&gt;<span class="w"> </span>--timeframe<span class="w"> </span>&lt;tf&gt;<span class="w"> </span>--strategy<span class="w"> </span>&lt;strategy_name&gt;<span class="w"> </span>--timerange<span class="w"> </span>&lt;timerange&gt;<span class="w"> </span>--export<span class="w"> </span>signals<span class="w"> </span>--backtest-filename<span class="w"> </span>backtest-result-2025-03-05_20-38-34.zip
</code></pre></div>
<p>You should see some output similar to below in the logs with the name of the timestamped
filename that was exported:</p>
<div class="highlight"><pre><span></span><code>2022-06-14 16:28:32,698 - freqtrade.misc - INFO - dumping json to &quot;/tmp/mystrat_backtest-2022-06-14_16-28-32.json&quot;
<div class="highlight"><pre><span></span><code>2022-06-14 16:28:32,698 - freqtrade.misc - INFO - dumping json to &quot;mystrat_backtest-2022-06-14_16-28-32.json&quot;
</code></pre></div>
<p>You can then use that filename in <code>backtesting-analysis</code>:</p>
<div class="highlight"><pre><span></span><code>freqtrade backtesting-analysis -c &lt;config.json&gt; --export-filename=/tmp/mystrat_backtest-2022-06-14_16-28-32.json
<div class="highlight"><pre><span></span><code>freqtrade backtesting-analysis -c &lt;config.json&gt; --backtest-filename=mystrat_backtest-2022-06-14_16-28-32.json
</code></pre></div>
<p>To use a result from a different results directory, you can use <code>--backtest-directory</code> to specify the directory</p>
<div class="highlight"><pre><span></span><code>freqtrade<span class="w"> </span>backtesting-analysis<span class="w"> </span>-c<span class="w"> </span>&lt;config.json&gt;<span class="w"> </span>--backtest-directory<span class="w"> </span>custom_results/<span class="w"> </span>--backtest-filename<span class="w"> </span>mystrat_backtest-2022-06-14_16-28-32.json
</code></pre></div>
<h3 id="tuning-the-buy-tags-and-sell-tags-to-display">Tuning the buy tags and sell tags to display<a class="headerlink" href="#tuning-the-buy-tags-and-sell-tags-to-display" title="Permanent link">&para;</a></h3>
<p>To show only certain buy and sell tags in the displayed output, use the following two options:</p>