I want to create a trading calendar to be include as a function in my application. The purpose is to test for dates and hour that i dont want to issu any orders.
What is the important date in the years where the market is too thin? Could you help me to complete my list. As a French Canadian, I don't have the same holydays date as those big market's guys .
I want to set a variable TimeOK to true if the actual date is not in the list.
If date in the list, I will wait for 8PM ( eastern time) berfore seting the variable to true
I will start trading on Sunday 8:00pm til Friday 12:30
Anybody know if there a similar work that has been done before.
January 1, 2011 (saturday): New Year's Day [Jan. 1 every year]
January 17, 2011 (monday): Martin Luther King Day [3rd monday in Jan]
February 21, 2011 (monday): Presidents Day (observed) [3rd monday in Feb]
note: Presidents Day is also Washington's Birthday (observed)
May 30, 2011 (monday): Memorial Day (observed) [last monday in May]
July 4, 2011 (monday): Independence Day [July 4th every year]
September 5, 2011 (monday): Labor Day [1st monday in Sept]
October 10, 2011 (monday): Columbus Day (observed) [2nd monday in Oct]
November 11, 2011 (friday): Veterans' Day [Nov. 11 every year]
November 24, 2011 (thursday): Thanksgiving Day [4th thursday in Nov]
December 25, 2011 (sunday): Christmas Day [Dec. 25 every year]
December 26, 2011 (monday): federal employees extra day off for Christmas