sm625
Diamond Member
Sandy has reignited an age old problem I've had with trying to determine what days are NYSE holidays.
I want to have a C style function that takes any date and returns TRUE if the market was open (even partially) and FALSE if the market was closed the entire day, as follows
BOOL NYSE_Open(int mm, int dd, int yyyy)
{
insert code here
}
It needs to work for the current date, a date two weeks ago, and also dates going back a few years.
I want to have a C style function that takes any date and returns TRUE if the market was open (even partially) and FALSE if the market was closed the entire day, as follows
BOOL NYSE_Open(int mm, int dd, int yyyy)
{
insert code here
}
It needs to work for the current date, a date two weeks ago, and also dates going back a few years.
Last edited: