functions: simple moving average

This commit is contained in:
Alexander Zobnin
2017-07-03 21:50:42 +03:00
parent dc840845a2
commit 273e6df7e3
12 changed files with 170 additions and 4 deletions

View File

@@ -110,6 +110,13 @@ System.register(['lodash', 'jquery'], function (_export, _context) {
defaultParams: []
});
addFuncDef({
name: 'simpleMovingAverage',
category: 'Transform',
params: [{ name: 'factor', type: 'int', options: [6, 10, 60, 600] }],
defaultParams: [10]
});
// Aggregate
addFuncDef({