Pergunta

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.

Foi útil?

Solução

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.

Outras dicas

If you have a routine, and want to unit test it, the trading days for the NYSE are listed from 1885 to 2010 here:

http://www.chronos-st.org/NYSE_Observed_Holidays-1885-Present.html

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top