문제

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.

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top