Does anyone know of a routine that works out if today is a trading day on the NYSE?
I could hand-code the values, but I want something solid that will last a long time.
There is a routine in Matlab, but I'd rather not have to install 100MB of Matlab runtimes and a C#-to-Matlab bridge.
Ask your broker. My data feed gives me the trading hours for the next few days for all exchanges I subscribe to on a daily basis.