Skip to content

Commit 2e3d276

Browse files
committed
docs: Add strategy docs to migrate funding fees
1 parent bd5630a commit 2e3d276

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/deprecated.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ As a consequence, the mark and funding rate timeframes have been changed to 1h f
107107
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.
108108
You can either re-download everything (`freqtrade download-data [...] --erase` - :warning: can take a long time) - or download the updated data selectively.
109109

110+
### Strategy
111+
112+
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.
113+
The same is true for `dp.get_pair_dataframe(metadata["pair"], "8h", candle_type="funding_rate")` - which will need to be switched to 1h.
114+
115+
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.
116+
110117
### Selective data re-download
111118

112119
The script below should serve as an example - you may need to adjust the timeframe and exchange to your needs!

0 commit comments

Comments
 (0)