TUI chart stops adding MCX/NCO candles at 23:30 while the market trades until 23:55 (Nov–Mar)
What happens
From 2 Nov 2026 to 12 Mar 2027, MCX and NSE commodity contracts (non-agri) trade until 23:55 IST. The TUI stops adding live ticks to their chart candles at 23:30. The LTP keeps updating, but the chart freezes for the last 25 minutes of the session.
Steps to reproduce
- On a weekday between 23:30 and 23:55 IST, any time from November to mid-March, open the TUI.
- Open a 1-minute chart for an active MCX future, e.g.
MCX:CRUDEOILnear month. - After 23:30 no new candles form, though the LTP still moves.
Cause
exchange_session_open in src/tui/format.rs uses a fixed 23:30 close for MCX and NCO:
"MCX" | "NCO" => (9 * 3600, 23 * 3600 + 30 * 60),
on_tick (src/tui/app/events/websocket.rs) only folds a tick into candles when this returns true, so ticks from 23:30 to 23:55 are dropped.
The exchanges close non-agri commodities at 23:30 only while the US observes daylight saving time, and at 23:55 otherwise:
- NSE/COM/72699 (9 Feb 2026): 9:00 AM to 11:30 PM, from 9 Mar to 30 Oct 2026. https://nsearchives.nseindia.com/content/circulars/COM72699.pdf
- NSE/COM/76446 (21 Sep 2026): 9:00 AM to 11:55 PM, from 2 Nov 2026 to 12 Mar 2027. https://nsearchives.nseindia.com/content/circulars/COM76446.pdf
- MCX circular
(29 Sep 2026): the same window for MCX. - Zerodha's bulletin gives the reason, "on account of the change in US daylight saving timings": https://zerodha.com/marketintel/bulletin/459705/revision-in-commodity-market-trading-hours-from-november-02-2026
The existing test only checks a July date, when 23:30 is correct.
Expected
Commodity ticks up to 23:55 build candles while the US is not on daylight saving time, and the 23:30 close still applies in summer.