| Contents | Index |
Closures = nyseclosures(StartDate,
EndDate, WorkWeekFormat)
SatTransition = nyseclosures(StartDate,
EndDate,
WorkWeekFormat)
Closures = nyseclosures(StartDate, EndDate, WorkWeekFormat) returns a vector of serial date numbers corresponding to market closures between StartDate and EndDate, inclusive. If you do not specify StartDate and EndDate, Closures contains all known or anticipated closures from January 1, 1885 to December 31, 2050. By default, WorkWeekFormat argument uses the 'Implicit' value.
SatTransition = nyseclosures(StartDate, EndDate, WorkWeekFormat) returns the date of transition for the New York Stock Exchange from a 6-day workweek to a 5-day workweek. The date for this transition is September 29, 1952 and this date returns the serial date number 713226.
Since the New York Stock Exchange was open on Saturdays before September 29, 1952, exact closures from 1885 to 1952 are based on a 6-day workweek. nyseclosures contains all holiday and special non-trading days for the New York Stock Exchange from 1885 through 2050 based on a six-day work week (always closed on Sundays). Use WorkWeekFormat to modify the list of dates.
holidays is based on a modern 5-day workweek and contains all holidays and special nontrading days for the New York Stock Exchange from January 1, 1885 to December 31, 2050. Since the New York Stock Exchange was open on Saturdays before September 29, 1952, exact closures for the period from 1885 to 2050 should include Saturday trading days. To capture these dates, use the function nyseclosures. The results from holidays and nyseclosures are identical if the WorkWeekFormat in nyseclosures is 'modern'.
Find the NYSE closures for 1899:
datestr(nyseclosures('1-jan-1899','31-dec-1899'),'dd-mmm-yyyy ddd')
This returns:
ans = 02-Jan-1899 Mon 11-Feb-1899 Sat 13-Feb-1899 Mon 22-Feb-1899 Wed 31-Mar-1899 Fri 29-May-1899 Mon 30-May-1899 Tue 03-Jul-1899 Mon 04-Jul-1899 Tue 04-Sep-1899 Mon 29-Sep-1899 Fri 30-Sep-1899 Sat 07-Nov-1899 Tue 25-Nov-1899 Sat 30-Nov-1899 Thu 25-Dec-1899 Mon
Find the NYSE closure dates using the 'Archaic' value for WorkWeekFormat:
datestr(nyseclosures('1-sep-1952','31-oct-1952','a'),1)
This returns:
ans = 01-Sep-1952 06-Sep-1952 13-Sep-1952 20-Sep-1952 27-Sep-1952 04-Oct-1952 11-Oct-1952 13-Oct-1952 18-Oct-1952 25-Oct-1952
The exchange was closed on Saturdays for much of 1952 before the official transition to a 5-day workweek.
busdate | createholidays | fbusdate | holidays | isbusday | lbusdate
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |