mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-01 09:33:05 +00:00
Deployed d4ee725 to develop in en with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
@@ -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">¶</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><config.json><span class="w"> </span>--timeframe<span class="w"> </span><tf><span class="w"> </span>--strategy<span class="w"> </span><strategy_name><span class="w"> </span>--timerange<span class="o">=</span><timerange><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">¶</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><config.json><span class="w"> </span>--timeframe<span class="w"> </span><tf><span class="w"> </span>--strategy<span class="w"> </span><strategy_name><span class="w"> </span>--timerange<span class="w"> </span><timerange><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 "/tmp/mystrat_backtest-2022-06-14_16-28-32.json"
|
||||
<div class="highlight"><pre><span></span><code>2022-06-14 16:28:32,698 - freqtrade.misc - INFO - dumping json to "mystrat_backtest-2022-06-14_16-28-32.json"
|
||||
</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 <config.json> --export-filename=/tmp/mystrat_backtest-2022-06-14_16-28-32.json
|
||||
<div class="highlight"><pre><span></span><code>freqtrade backtesting-analysis -c <config.json> --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><config.json><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">¶</a></h3>
|
||||
<p>To show only certain buy and sell tags in the displayed output, use the following two options:</p>
|
||||
|
||||
Reference in New Issue
Block a user