| Financial Toolbox™ | ![]() |
createholidays(Filename, Codefile, InfoFile, TargetDir, IncludeWkds, Wprompt, NoGUI)
Filename | The data file name. |
Codefile | The codes file name. |
InfoFile | The info file name. |
TargetDir | The target directory where to write the new holidays.m files. |
IncludeWkds | Option to include weekends in the holiday list. Values are:
|
Wprompt | Option to prompt for the file location for each holiday.m file that is created. Values are:
|
NoGUI | Run createholidays function without displaying the Trading Calendars graphical user interface. Values are:
|
createholidays(Filename, Codefile, InfoFile, TargetDir, IncludeWkds, Wprompt, NoGUI) programatically generates the market-specific holidays.m files without displaying the interface.
createholidays('FinancialCalendar\My_datafile.csv',...
'FinancialCalendar\My_codesfile.csv',...
'FinancialCalendar\My_infofile.csv','c:\work',1,1,1)will create holidays*.m files from My_datafile.csv in the directory c:\work. Weekends will be included in the holidays list based on the input flag INCLUDEWDKS = 1.
Note To use createholidays, you must obtain data, codes, and info files from http://www.FinancialCalendar.com trading calendars. |
![]() | cpnpersz | cumsum | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |