Financial Time Series    
ftsbound

Start and end dates

Syntax

Arguments

tsobj
Name of a financial time series object created with fints
dateform
dateform is an integer between 1 and 18 representing the format of a date string. See datestr for a description of these formats.

Description

ftsbound returns the start and end dates of a financial time series object.

datesbound = ftsbound(tsobj) returns the start and end dates contained in tsobj as serial dates in the column matrix datesbound. The first row in datesbound corresponds to the start date, and the second corresponds to the end date.

datesbound = ftsbound(tsobj, dateform) returns the starting and ending dates contained in the object, tsobj, as date strings in the column matrix, datesbound. The first row in datesbound corresponds to the start date, and the second corresponds to the end date.

See Also

datestr in the Financial Toolbox User's Guide


 fts2mtx getfield