Documentation Center

  • Trials
  • Product Updates

end

Last date entry

Syntax

end

Description

end returns the index to the last date entry in a financial time series object.

Examples

Consider a financial time series object called fts:

fts = 

     desc:  DJI30MAR94.dat
     freq:  Daily (1) 

     'dates:  (20)'    'Open:  (20)'   
     '04-Mar-1994'     [        3830.9]
     '07-Mar-1994'     [        3851.7]
     '08-Mar-1994'     [        3858.5]
     '09-Mar-1994'     [          3854]
     '10-Mar-1994'     [        3852.6]
     '11-Mar-1994'     [        3832.6]
     '14-Mar-1994'     [        3870.3]
     '16-Mar-1994'     [          3851]
     '17-Mar-1994'     [        3853.6]
     '18-Mar-1994'     [        3865.4]
     '21-Mar-1994'     [        3878.4]
     '22-Mar-1994'     [        3865.7]
     '23-Mar-1994'     [        3868.9]
     '24-Mar-1994'     [        3849.9]
     '25-Mar-1994'     [        3827.1]
     '28-Mar-1994'     [        3776.5]
     '29-Mar-1994'     [        3757.2]
     '30-Mar-1994'     [        3688.4]
     '31-Mar-1994'     [        3639.7]

The command fts(15:end) returns

ans =

   desc:  DJI30MAR94.dat
   freq:  Daily (1) 

   'dates:  (6)'     'Open:  (6)'   
   '24-Mar-1994'     [        3849.9]
   '25-Mar-1994'     [        3827.1]
   '28-Mar-1994'     [        3776.5]
   '29-Mar-1994'     [        3757.2]
   '30-Mar-1994'     [        3688.4]
   '31-Mar-1994'     [        3639.7]

See Also

| |

Was this topic helpful?