Lead time series object
leadts will be removed in a future release. Use
timetable instead. For more information, see Convert Financial Time Series Objects fints to Timetables.
newfts = leadts(oldfts) newfts = leadts(oldfts,leadperiod) newfts = leadts(oldfts,leadperiod,padmode)
Financial time series object.
Number of lead periods expressed in the frequency of the time series object.
Data padding value.
leadts advances a financial time series object by a specified time
newfts = leadts(oldfts) advances the data series in
oldfts by one time series date entry and returns the result in
newfts. The end will be padded with zeros, by default.
newfts = leadts(oldfts,leadperiod) shifts time series values to the
left on an increasing time scale.
leadts advances the data series to
happen at an earlier time.
leadperiod is the number of lead periods
expressed in the frequency of the time series object
oldfts is a daily time series,
leadperiod is specified in days.
the data with zeros (default).
newfts = leadts(oldfts,leadperiod,padmode) lets you pad the data
with an arbitrary value,
Inf rather than
zeros by setting
padmode to the desired value.