From 2e3d2763046115e0dee042bb2c7603a229aa1c7c Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 14 Dec 2025 17:13:03 +0100 Subject: [PATCH] docs: Add strategy docs to migrate funding fees --- docs/deprecated.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/deprecated.md b/docs/deprecated.md index 6af1e0d76..ce3bf3b95 100644 --- a/docs/deprecated.md +++ b/docs/deprecated.md @@ -107,6 +107,13 @@ As a consequence, the mark and funding rate timeframes have been changed to 1h f 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 (`freqtrade download-data [...] --erase` - :warning: can take a long time) - or download the updated data selectively. +### Strategy + +Most strategies should not need adjustments to continue to work as expected - however, strategies using `@informative("8h", candle_type="funding_rate")` or similar will have to switch the timeframe to 1h. +The same is true for `dp.get_pair_dataframe(metadata["pair"], "8h", candle_type="funding_rate")` - which will need to be switched to 1h. + +freqtrade will auto-adjust the timeframe and return `funding_rates` despite the wrongly given timeframe. It'll issue a warning - and may still break your strategy. + ### Selective data re-download The script below should serve as an example - you may need to adjust the timeframe and exchange to your needs!