From 8b9b818003cd00283b33fe8f457bf2c3b3e0c2a3 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 30 Sep 2024 07:15:44 +0200 Subject: [PATCH] chore: improve docstring and return value for tv_alma --- technical/indicators/indicators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/technical/indicators/indicators.py b/technical/indicators/indicators.py index b44a984a..3387928f 100644 --- a/technical/indicators/indicators.py +++ b/technical/indicators/indicators.py @@ -1306,7 +1306,7 @@ def tv_hma(dataframe: DataFrame, length: int = 9, field="close") -> Series: def tv_alma( dataframe: DataFrame, length: int = 8, offset: int = 0, sigma: int = 0, field="close" -) -> DataFrame: +) -> Series: """ Source: Tradingview "Arnaud Legoux Moving Average" Links: https://www.tradingview.com/pine-script-reference/v5/#fun_ta.alma @@ -1326,7 +1326,7 @@ def tv_alma( field : Field to use for the calculation Returns : - dataframe : Series of ALMA values + series : Series of ALMA values """ """ This is simple computation way, just for reference """