Files
drift/feature_extractors/ta.py
T
2022-01-26 23:22:43 +01:00

9 lines
243 B
Python

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) -> pd.Series:
close, low, high = get_close_low_high(df)
return ta.ebsw(close, period)