From: Jérôme Benoit Date: Mon, 10 Mar 2025 15:02:20 +0000 (+0100) Subject: refactor(qav3): rename function X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=32271c014d536e187f58629ca48988b6ad0d034e;p=freqai-strategies.git refactor(qav3): rename function Signed-off-by: Jérôme Benoit --- diff --git a/quickadapter/user_data/strategies/QuickAdapterV3.py b/quickadapter/user_data/strategies/QuickAdapterV3.py index c2f7ad9..05352d9 100644 --- a/quickadapter/user_data/strategies/QuickAdapterV3.py +++ b/quickadapter/user_data/strategies/QuickAdapterV3.py @@ -470,7 +470,7 @@ def EWO( "wma": ta.WMA, "dema": ta.DEMA, "tema": ta.TEMA, - "zlewma": ZLEMWA, + "zlewma": ZLEWMA, "trima": ta.TRIMA, "kama": ta.KAMA, "t3": ta.T3, @@ -485,7 +485,7 @@ def EWO( return madiff -def ZLEMWA(dataframe: DataFrame, timeperiod: int) -> Series: +def ZLEWMA(dataframe: DataFrame, timeperiod: int) -> Series: """ Calculate the close price ZLEWMA (Zero Lag Exponential Weighted Moving Average) series of an OHLCV dataframe. :param dataframe: DataFrame The original OHLCV dataframe