Given an exchange code, is there an API to obtain the list of trading dates in a given date range or may be list of non-trading dates for an exchange or list of exchanges in a given date range ?
Given an exchange code, is there an API to obtain the list of trading dates in a given date range or may be list of non-trading dates for an exchange or list of exchanges in a given date range ?
Hi,
there is no pages or RIC that provides exchange trading dates. However, you can refer to two pages below within API Quote (RetrieveItem_3) services.
1. US/EXCH1, US/EXCH2...GB/EXCH1 etc to refer to the trading hours and other information about specific exchanges.
2. US/HOLIDAY, GB/HOLIDAY, IN/HOLIDAY etc which shows the market holiday information for different countries. It also contains information if the market is closing early.
Please refer to these pages in API and let us know if this works for you.
thank you, Waseem.
Thanks, but that only seems to respond with the 'hours of operation' for the week not days of operation. for Ex. in the screen shot below for NYS, WED 7/4 must have been a holiday and shouldn't have been listed in the response, however it is.
So this seems like a generic response if the exchange were trading that day of the week and doesn't factor in that 7/4 was a US holiday
Any other ideas ?