To post "results tomorrow" previews we need to know when each company reports. There's no single free feed for both India and the US, so we merge two public sources.

India: NSE board meetings

Indian companies must announce board meetings in advance, and the meeting that approves quarterly results is listed with its purpose. NSE's site serves the list as JSON for a date range (it needs a browser-like session with cookies first). Each row has a symbol, a date like 30-Oct-2026 and a purpose; we keep rows whose purpose mentions "results".

US: Nasdaq's earnings calendar

Nasdaq's public calendar API takes one date per request and gives back rows with the symbol and the time of day (before the open or after the close). We request 14 days ahead and keep our S&P 100 symbols. Share-class symbols need mapping (Nasdaq's BRK/B is our BRK-B).

Merging

events = {} for e in nse_events + nasdaq_events: events[(e["market"], e["symbol"])] = e # one event per company, the latest announcement wins calendar = sorted(events.values(), key=lambda e: (e["date"], e["market"], e["symbol"])) 

Each event also gets a size (market value for the US, a rank list for India) so previews cover the biggest companies first when there are more events than video slots.

Practical notes

  • Dates move. Companies reschedule; we rebuild the calendar every night rather than storing it once.
  • Be polite. One request per day per source, cached to a JSON file.
  • Only dates and times. We don't use either source's analyst estimates; our previews compare with the company's own last results.

From Quantooo Lab, the makers of quantooo.com, a free, open and educational quant lab: every formula, every test and every failure is public. See it here: https://quantooo.com/learn?tag=results

Educational, not investment advice.