From dbddc4c8aac5c1f7c157b1d1fe5a30bf326820a5 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 20 Jan 2023 07:08:15 +0100 Subject: [PATCH] Improve wording on adjust_trade_position callback warning --- docs/strategy-callbacks.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/strategy-callbacks.md b/docs/strategy-callbacks.md index 19bd26a04..f39168c52 100644 --- a/docs/strategy-callbacks.md +++ b/docs/strategy-callbacks.md @@ -659,6 +659,7 @@ Position adjustments will always be applied in the direction of the trade, so a !!! Warning "Backtesting" During backtesting this callback is called for each candle in `timeframe` or `timeframe_detail`, so run-time performance will be affected. + This can also cause deviating results between live and backtesting, since backtesting can adjust the trade only once per candle, whereas live could adjust the trade multiple times per candle. ``` python from freqtrade.persistence import Trade