Downloading NSE Bhavcopy closing prices in golang
NSE has no free per-symbol price API, but it publishes one zipped CSV with every closing price each trading day. Here is how I download and parse it in golang: browser headers, a cookie jar, a size cap, columns by name, and a clean error for holidays.