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

This commit is contained in:
github-actions[bot]
2024-12-07 16:49:59 +00:00
parent 535f95c086
commit 92a713ba21
3 changed files with 37 additions and 2 deletions

View File

@@ -1690,6 +1690,7 @@ For the sample below, you then need to add the command line parameter <code>--hy
<span class="n">config</span><span class="p">:</span> <span class="n">Config</span><span class="p">,</span>
<span class="n">processed</span><span class="p">:</span> <span class="nb">dict</span><span class="p">[</span><span class="nb">str</span><span class="p">,</span> <span class="n">DataFrame</span><span class="p">],</span>
<span class="n">backtest_stats</span><span class="p">:</span> <span class="nb">dict</span><span class="p">[</span><span class="nb">str</span><span class="p">,</span> <span class="n">Any</span><span class="p">],</span>
<span class="n">starting_balance</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span>
<span class="o">**</span><span class="n">kwargs</span><span class="p">,</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">float</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
@@ -1720,6 +1721,7 @@ For the sample below, you then need to add the command line parameter <code>--hy
<li><code>config</code>: Config object used (Note: Not all strategy-related parameters will be updated here if they are part of a hyperopt space).</li>
<li><code>processed</code>: Dict of Dataframes with the pair as keys containing the data used for backtesting.</li>
<li><code>backtest_stats</code>: Backtesting statistics using the same format as the backtesting file "strategy" substructure. Available fields can be seen in <code>generate_strategy_stats()</code> in <code>optimize_reports.py</code>.</li>
<li><code>starting_balance</code>: Starting balance used for backtesting.</li>
</ul>
<p>This function needs to return a floating point number (<code>float</code>). Smaller numbers will be interpreted as better results. The parameters and balancing for this is up to you.</p>
<div class="admonition note">