Maximum value
max is not recommended. Use timetable instead. For more information, see Convert Financial Time Series Objects fints to Timetables.
tsmax = max(tsobj)
tsmax = max(tsobj) finds the maximum value in each data series in
the financial time series object (tsobj) and returns it in a
structure tsmax. The tsmax structure contains
field name(s) identical to the data series name(s).
Note
tsmax returns only the values and does not return the dates
associated with the values. The maximum values are not necessarily from the same
date.