Raif Mondal
The Founder Issue · Research notesNote No. III
Data engineering · Indian equities

Twenty-three years of balance sheets

Building a fundamentals dataset for Indian companies, one polite request at a time.

Most quantitative ideas die on data before they die on maths. For Indian equities, clean and free fundamental data is hard to come by, so I wrote a scraper that walks the list of BSE-listed companies and collects each one’s balance sheet.

It asks for consolidated statements first and falls back to standalone ones, retries with backoff when a request fails, and waits fifteen to twenty seconds between companies so as not to hammer the source. The result is a table of a little over sixteen thousand rows covering roughly 1,580 companies, with reporting periods from 2002 to 2025.

The part nobody puts in the chart

Of the tickers I tried in one run, about as many failed as succeeded. Delisted names, renamed companies, missing consolidated filings and pages that changed shape all show up as gaps. A model trained on the survivors would quietly learn from the companies that lasted long enough to be scraped.

The missing rows are data too. They are just the expensive kind.

The repository stops at collection; there is no analysis on top of it yet. The lesson I took is the boring one: before a single feature is engineered, know exactly which companies are missing and why.