sma v0.1.0 SMA

This module is responsible for calculating simple moving average.

It accepts list of data items and window size (period) and then returns calculated moving average.

Summary

Functions

Calculates SMA from given list

Functions

sma(data, period)

Specs

sma(list, integer) :: list

Calculates SMA from given list