Simple Moving Average

Construct a Simple Moving Average.

Algorithmia Platform License

Try the API

[
  0,
  0.5,
  1,
  2,
  3,
  4,
  5,
  10.333333333333334,
  11.333333333333334,
  12.333333333333334,
  9,
  10,
  11
]

Install & Use

Use

curl -X POST -d '[[0,1,2,3,4,5,6,20,8,9,10,11,12],3]' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/TimeSeries/SimpleMovingAverage/0.2.0
  
Curl Docs →