From 32271c014d536e187f58629ca48988b6ad0d034e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 10 Mar 2025 16:02:20 +0100 Subject: [PATCH] refactor(qav3): rename function MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- quickadapter/user_data/strategies/QuickAdapterV3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.43.0