Momentums

This module contains some tools to compute moving statistic momentums, such as three kind of moving average: simple (sma), exponential (ema) and weighted (wma); and three kind of moving standard deviation: simple (smstd), exponential (emstd) and weighted (wmstd).

Moving averages

ema(X[, alpha, w, axis, dtype])

Compute exponential moving average(s) for each X' series.

sma(X[, w, axis, dtype])

Compute simple moving average(s) of size w for each X' series.

wma(X[, w, axis, dtype])

Compute weighted moving average(s) of size w for each X' series.

Moving standard deviation

emstd(X[, alpha, w, axis, dtype])

Compute exponential moving standard deviation(s) for each X' series.

smstd(X[, w, ddof, axis, dtype])

Compute simple moving standard deviation(s) for each X' series'.

wmstd(X[, w, axis, dtype])

Compute weighted moving standard(s) deviation for each X' series'.