sum

sum(series, period)
Parameters
  • series (series) – Input series

  • period (integer) – Input period

Returns

series

Returns the sum of the last period values from the series