Skip to content

Commit 6942352

Browse files
Bug fix in predict.py
1 parent fd0132f commit 6942352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

predict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def predict_pandas(self: Self, data: Any) -> Literal["up", "down", "hold"]:
160160
out["signal_sell"] = np.logical_and.reduce(anti_signals)
161161
del signals, anti_signals
162162

163-
def intersects(df: pd.DataFrame) -> pd.Series[Any]:
163+
def intersects(df: pd.DataFrame) -> pd.DataFrame:
164164
"""
165165
Check if buy signals intersect with sell signals
166166
:param df:

0 commit comments

Comments
 (0)