From: Jérôme Benoit Date: Fri, 21 Mar 2025 19:18:01 +0000 (+0100) Subject: fix(qav3): fix ADX feature computation X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8cb6720057f9e1e9656344d1cae91c579cf83148;p=freqai-strategies.git fix(qav3): fix ADX feature computation Signed-off-by: Jérôme Benoit --- diff --git a/quickadapter/user_data/strategies/QuickAdapterV3.py b/quickadapter/user_data/strategies/QuickAdapterV3.py index f72876b..a2ab3c6 100644 --- a/quickadapter/user_data/strategies/QuickAdapterV3.py +++ b/quickadapter/user_data/strategies/QuickAdapterV3.py @@ -173,7 +173,7 @@ class QuickAdapterV3(IStrategy): dataframe["%-rsi-period"] = ta.RSI(dataframe, timeperiod=period) dataframe["%-aroonosc-period"] = ta.AROONOSC(dataframe, timeperiod=period) dataframe["%-mfi-period"] = ta.MFI(dataframe, timeperiod=period) - dataframe["%-adx-period"] = ta.ADX(dataframe, window=period) + dataframe["%-adx-period"] = ta.ADX(dataframe, timeperiod=period) dataframe["%-cci-period"] = ta.CCI(dataframe, timeperiod=period) dataframe["%-er-period"] = pta.er(dataframe["close"], length=period) dataframe["%-rocr-period"] = ta.ROCR(dataframe, timeperiod=period)