If you need NSE or BSE holidays in Python, pandas_market_calendars and exchange_calendars are good, widely used packages. Use them.

Indian markets have schedules they were not built for. Here are four, checked on 6 December 2026 against pandas_market_calendars 5.7.0 and exchange_calendars 4.13.4, with the answers from aion-indian-market-calendar 1.8.1, an MIT-licensed package we maintain.

pip install aion-indian-market-calendar 

All outputs below were produced with AION_IN_CALENDAR_OFFLINE=1, so no network was used.

1. Was there a session on Sunday 8 November 2026?

Yes: Diwali Muhurat trading. pandas_market_calendars models weekday Muhurat sessions, and its NSE calendar's own documentation says that sessions falling on weekends "cannot currently be represented". So it has no row for that day:

import pandas_market_calendars as pmc nse = pmc.get_calendar("NSE") print(nse.schedule("2026-11-06", "2026-11-09").index.date) # [datetime.date(2026, 11, 6) datetime.date(2026, 11, 9)] 
from aion_indian_market_calendar import IndiaMarketCalendar, get_market_phase, muhurat_session cal = IndiaMarketCalendar.bundled(2026) print(muhurat_session("2026-11-08", calendar=cal)) # MuhuratSession(market='NSE_EQUITY', open=datetime.time(14, 20), close=datetime.time(15, 30), provisional=False, event_id='NSE_EQUITY_MUHURAT_20261108') print(get_market_phase("2026-11-08T14:30:00+05:30", "NSE", calendar=cal)) # MUHURAT_TRADING 

2. Is MCX open at 23:40?

It depends on the season. MCX non-agricultural contracts close at 23:30 while the US is on daylight saving time and at 23:55 otherwise. Neither general package has an MCX calendar ([n for n in pmc.get_calendar_names() if "MCX" in n] is empty).

print(get_market_phase("2026-07-08T23:40:00+05:30", "MCX", calendar=cal)) # CLOSED print(get_market_phase("2026-12-08T23:40:00+05:30", "MCX", calendar=cal)) # CONTINUOUS 

3. Equities trade on 1 April. Do currency derivatives? Does settlement happen?

No and no. NSE currency derivatives (USDINR, EURINR, GBPINR, JPYINR) trade 09:00 to 17:00 with their own holiday list, and settlement holidays differ from trading holidays. A single exchange calendar gives one answer for the day.

from aion_indian_market_calendar import is_trading_day, is_settlement_day print(is_trading_day("2026-04-01", calendar=cal)) # True print(is_settlement_day("2026-04-01", calendar=cal)) # False print(cal.is_market_open("2026-04-01T10:00:00+05:30", market="CDS")) # False 

4. When is this week's NIFTY expiry?

Weekly NIFTY contracts expire on Tuesday, and a holiday moves expiry to the previous trading day. The general packages have no expiry calendar.

from aion_indian_market_calendar import get_expiry_day print(get_expiry_day("NIFTY", "2026-12-07", calendar=cal)) # 2026-12-08 

Limits, stated plainly

  • Release 1.8.1 covers 1 January to 31 December 2026. A date outside that range raises ValueError instead of guessing.
  • It reports the scheduled timetable from exchange and SEBI notices. It cannot see real-time halts, and the notices are the authority.
  • It does not cover BSE currency derivatives, cross-currency pairs or per-contract MCX agricultural hours.
  • It is information about when markets trade and settle, not advice on what to trade.

A good pattern is to keep pandas_market_calendars for the general trading-day grid and add this package for the Indian specifics above.

Source and issues: github.com/AION-Analytics-India/aion-indian-market-calendar. Corrections with an exchange notice attached are welcome.