ezyquant.indicators.ta.TA.sma#
- static TA.sma(close: DataFrame, window: int, fillna: bool = False) DataFrame #
Simple Moving Average (SMA)
- Parameters:
close (pd.DataFrame) – dataset ‘Close’ dataframe.
window (int) – n period.
fillna (bool = False) – if True, fill nan values.
- Returns:
Simple Moving Average (SMA)
- Return type:
pd.DataFrame