Information about the holidays.txt file
The file named holidays.txt resides in the admin directory where Investor/RT is installed on Windows, typically
C> Program Files > LinnSoft > InvestorRT > Admin
Purpose
This file holds
- A Daylight Saving Time (DST) calendar for both US and Europe markets
- An holiday calendar for the main US markets that can be possibly used together with the scrubbing feature to delete historical data for partial futures sessions permanently
Holidays.txt File Format
- Each line in the file must have the same or a higher date number than the line before it. Date numbers are six digits, YYMMDD, e.g. 201225 for Christmas Day 2020
- All lines that begin with a hyphen are treated as comments.
- Lines beginning with a # are also comments, but the lines are written to the message log when the file is loaded by Investor/RT at startup.
- Be sure to specify the date number in the format YYMMDD, last 2 digits of the year, 2 digit month, 2 digit day of month.
There are 4 possible line formats
- YYMMDD,H,holiday name (The H means "all session" holiday).
- YYMMDD,session,holiday name (session-specific holiday). session is a number from 0 to 99, the session number.
- YYMMDD,DB (the date daylight savings time begins in the U.S.)
- YYMMDD,DE (the date daylight savings time ends in the U.S.)
Note : to declare a session-specific holiday for 2 or more sessions, include lines for each session with the same date number.
Maintaining your own holidays calendar file - IMPORTANT NOTICE
The holidays.txt is updated every time you install a new version of Investor/RT. Do not make revisions to holidays.txt. If you do make revisions to the holidays.txt file, your revisions will be lost when you next update the software.
To supply your own holiday edits, save this file under the name myholidays.txt in your local admin directory.
At startup, the Investor/RT looks for myholidays.txt; if it is present, it is used instead of the holidays.txt file in the install directory.
If myholidays.txt does not exist in the local admin directory, holidays.txt in the install directory is used.
Place myholidays.txt into C:\Users\your-user-name\InvestorRT\admin\ This admin directory is your local admin folder, the "working directory" admin folder.
Override Holidays File Feature
To facilitate user editing of holiday dates, Investor/RT itself has a special function. Using the File Menu, choose File > Functions; select Override Holidays File; click Go.
To add or remove holidays from Investor/RT, follow these steps:
1. Go to File > Functions and use the Find box to search for holidays

2. Press the Go button, which will open a text file for editing.
3. Scroll to the year and find the holiday you'd like to add or remove.
4. To remove a holiday from your charts, find it in the list and delete the two dashes at the start of the line. (By default, all downloaded historical data for partial session is kept within I/RT database calendar dates)
5. Save the file as show below:

6. Restart Investor/RT.
Important
You may add lines containing new holidays using the format that you see in the existing file. Please make sure the new lines you add are in Date order with the rest of the lines for that year. For example, don't add a new holiday for a date in May of 2017, after New Years Eve 2017. Instead, insert it in the correct order with the rest of the dates