Trevor Harnett
posted this on February 25, 2010 10:32
|
|
|
MarketDelta uses a file named Holidays.txt located in the admin directory/folder to determine which trading sessions have trading holidays on which dates. By default, the Holidays.txt file included in MarketDelta installers specifies "global" (all sessions) holidays for all U.S. Market holidays for the year or two ahead. Users who track instruments that trade on exchanges outside the U.S. must revise the Holidays.txt file to distinguish between U.S. session holidays and trading holidays specific to international exchange sessions. Alternatively, simply save the attachment below to C:\Program Files MktDelta\Admin folder then reboot MarketDelta. This file only has the holidays of Christmas and New Years day and will be suitable for just about everyone around the world. MarketDelta update installers will install the latest default holidays.txt file each time you update to a new release. It has therefore been necessary for users who have customized their holidays.txt file to assure that they reinstate their own customized holidays.txt file after each installation. Users can also permanently override the holidays.txt file normally used by MarketDelta by placing their own holidays file in the admin directory/folder under the filename "myholidays.txt". All users who now have customized holidays.txt file should duplicate the current holidays.txt file and name the duplicate myholidays.txt. ==== NOTE: We do not honor the holiday for “overnight” sessions. This used to be optional but now is not. We replaced it with the "no whitespace” option in the periodicity setup. You will see all the trading in the overnight session even on the holiday date itself, but with all whitespace removed. This takes the gap out of the chart. See this FAQ for more information on whitespace: http://support.marketdelta.com/entries/118140-removing-white-space-on-multi-pane-charts ==== DAYLIGHT SAVINGS TIME SAMPLE HOLIDAYS.TXT file below. Feel free to copy this out and paste it into your holidays.txt file. -BEGIN - Year 2009 Trading Holidays & DST Dates -END Lines that begin with a hyphen are comments, other lines have the format: The dates in the holidays.txt file must be in ascending date sequence. You may include the same date two or more times if you wish to declare that same date a holiday for two or more sessions, e.g.: |