From c1e5ce1695c724a0999c4dbe18eeb934781fefe8 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Fri, 10 Jan 2025 08:42:53 -0800 Subject: [PATCH] Update docstring in TPS strategy --- strategies/tps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/strategies/tps.py b/strategies/tps.py index 2435647..036a206 100644 --- a/strategies/tps.py +++ b/strategies/tps.py @@ -6,7 +6,8 @@ from indicators import rsi, sma def tps(data: DataFrame) -> Series: """ Calculate signals based on the Time, Price, Scale-in (TPS) strategy. - Returns a Series with 'Long' for signals and 'None' otherwise, without modifying the original DataFrame. + + Returns a Series with 'L' for long signals and 'N' otherwise. """ ma_200 = sma(data, period = 200) rsi_2 = rsi(data, period = 2)