Finnhub-API icon indicating copy to clipboard operation
Finnhub-API copied to clipboard

Want to know Asset Opening Hours and Days

Open iNont opened this issue 5 years ago • 3 comments

I'm not sure that is there any provided API for the asset opening hours and days.

It would be great to have the API to get that kind of data.

For ex. Example 1 Request for symbol=AAPL Response might be

{
    openingHours: "13:30-20:00", // Always return UTC
    openingDays: [1, 2, 3, 4, 5] // 1 is Monday, 7 is Sunday
}

Example 2 Request for symbol=BITFINEX:BTCUSD Response might be

{
    openingHours: "00:00-00:00", // might be 24/7 for Crypto
    openingDays: [1, 2, 3, 4, 5, 6, 7]
}

iNont avatar Jun 08 '20 09:06 iNont

Hi, unfortunately we don't have this endpoint at the moment

finnhubio avatar Jun 17 '20 01:06 finnhubio

I'd also like to see this endpoint. It would be nice if it could work for exchanges as well, i.e. check to see if a given market is open.

TJNII avatar Jun 19 '20 00:06 TJNII

Yes, this endpoint would be really useful. But I'd like better the response:

{
    openingHour: "13:30"
    closingHour: "20:00"
    isOpenToday:  true
}

This way there is no need to parse the hours interval in openingHours or figure out if the market is open based on the values in openingDays.

boherna avatar Jan 05 '21 17:01 boherna