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)