mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-19 22:08:11 +00:00
feat(Events): added EventFilter, EventLabeller (#186)
This commit is contained in:
@@ -2,7 +2,7 @@ import pandas_ta as ta
|
||||
import pandas as pd
|
||||
from feature_extractors.utils import get_close_low_high
|
||||
|
||||
def feature_EBSW(df: pd.DataFrame, period: int, is_log_return: bool) -> pd.Series:
|
||||
def feature_EBSW(df: pd.DataFrame, period: int) -> pd.Series:
|
||||
close, low, high = get_close_low_high(df)
|
||||
|
||||
return ta.ebsw(close, period)
|
||||
|
||||
Reference in New Issue
Block a user