Cumulative sum
cumsum is not recommended. Use timetable instead. For more information, see Convert Financial Time Series Objects fints to Timetables.
newfts = cumsum(oldfts)
newfts = cumsum(oldfts) calculates the cumulative sum of each
individual time series data series in the financial time series object
oldfts and returns the result in another financial time series
object newfts. newfts contains the same data
series names as oldfts.