mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-03-04 12:55:39 +00:00
Deployed 8af0631 to develop in en with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
@@ -2064,6 +2064,45 @@
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#adjustment-to-dynamic-funding-rate-handling" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Adjustment to dynamic funding rate handling
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Adjustment to dynamic funding rate handling">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#strategy" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Strategy
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#selective-data-re-download" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Selective data re-download
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -2343,6 +2382,45 @@
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#adjustment-to-dynamic-funding-rate-handling" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Adjustment to dynamic funding rate handling
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<nav class="md-nav" aria-label="Adjustment to dynamic funding rate handling">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#strategy" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Strategy
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#selective-data-re-download" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
Selective data re-download
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -2431,6 +2509,31 @@ Please use configuration based <a href="../advanced-setup/#advanced-logging">log
|
||||
<h2 id="removal-of-the-edge-module">Removal of the edge module<a class="headerlink" href="#removal-of-the-edge-module" title="Permanent link">¶</a></h2>
|
||||
<p>The edge module has been deprecated in 2023.9 and removed in 2025.6.
|
||||
All functionalities of edge have been removed, and having edge configured will result in an error.</p>
|
||||
<h2 id="adjustment-to-dynamic-funding-rate-handling">Adjustment to dynamic funding rate handling<a class="headerlink" href="#adjustment-to-dynamic-funding-rate-handling" title="Permanent link">¶</a></h2>
|
||||
<p>With version 2025.12, the handling of dynamic funding rates has been adjusted to also support dynamic funding rates down to 1h funding intervals.
|
||||
As a consequence, the mark and funding rate timeframes have been changed to 1h for every supported futures exchange.</p>
|
||||
<p>As the timeframe for both mark and funding_fee candles has changed (usually from 8h to 1h) - already downloaded data will have to be adjusted or partially re-downloaded.
|
||||
You can either re-download everything (<code>freqtrade download-data [...] --erase</code> - <img alt="⚠" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.1.0/assets/svg/26a0.svg" title=":warning:" /> can take a long time) - or download the updated data selectively.</p>
|
||||
<h3 id="strategy">Strategy<a class="headerlink" href="#strategy" title="Permanent link">¶</a></h3>
|
||||
<p>Most strategies should not need adjustments to continue to work as expected - however, strategies using <code>@informative("8h", candle_type="funding_rate")</code> or similar will have to switch the timeframe to 1h.
|
||||
The same is true for <code>dp.get_pair_dataframe(metadata["pair"], "8h", candle_type="funding_rate")</code> - which will need to be switched to 1h.</p>
|
||||
<p>freqtrade will auto-adjust the timeframe and return <code>funding_rates</code> despite the wrongly given timeframe. It'll issue a warning - and may still break your strategy.</p>
|
||||
<h3 id="selective-data-re-download">Selective data re-download<a class="headerlink" href="#selective-data-re-download" title="Permanent link">¶</a></h3>
|
||||
<p>The script below should serve as an example - you may need to adjust the timeframe and exchange to your needs!</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="c1"># Cleanup no longer needed data</span>
|
||||
rm<span class="w"> </span>user_data/data/<exchange>/futures/*-mark-*
|
||||
rm<span class="w"> </span>user_data/data/<exchange>/futures/*-funding_rate-*
|
||||
|
||||
<span class="c1"># download new data (only required once to fix the mark and funding fee data)</span>
|
||||
freqtrade<span class="w"> </span>download-data<span class="w"> </span>-t<span class="w"> </span>1h<span class="w"> </span>--trading-mode<span class="w"> </span>futures<span class="w"> </span>--candle-types<span class="w"> </span>funding_rate<span class="w"> </span>mark<span class="w"> </span><span class="o">[</span>...<span class="o">]</span><span class="w"> </span>--timerange<span class="w"> </span><full<span class="w"> </span>timerange<span class="w"> </span>you<span class="err">'</span>ve<span class="w"> </span>got<span class="w"> </span>other<span class="w"> </span>data<span class="w"> </span><span class="k">for</span>>
|
||||
</code></pre></div>
|
||||
<p>The result of the above will be that your funding_rates and mark data will have the 1h timeframe.
|
||||
you can verify this with <code>freqtrade list-data --exchange <yourexchange> --show</code>.</p>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">Additional arguments</p>
|
||||
<p>Additional arguments to the above commands may be necessary, like configuration files or explicit user_data if they deviate from the default.</p>
|
||||
</div>
|
||||
<p><strong>Hyperliquid</strong> is a special case now - which will no longer require 1h mark data - but will use regular candles instead (this data never existed and is identical to 1h futures candles). As we don't support download-data for hyperliquid (they don't provide historic data) - there won't be actions necessary for hyperliquid users.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user