]> Piment Noir Git Repositories - freqai-strategies.git/commitdiff
refactor(qav3): rename function
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 10 Mar 2025 15:02:20 +0000 (16:02 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 10 Mar 2025 15:02:20 +0000 (16:02 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
quickadapter/user_data/strategies/QuickAdapterV3.py

index c2f7ad990e4457cd36f48470335325e8c6a89bcd..05352d9f57fd2ddcc7ece9dac7a7c44248f6e580 100644 (file)
@@ -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