PowerNSE¶
NSE end-of-day archives. On your disk.
One CLI and a small Python API for end-of-day equity data from the exchange — bhavcopy, F&O, indexes, deals, corporate actions. No third-party dump ingest.
NSE URLs move. Session cookies are picky. PowerNSE stages the files under
nse-data/, keeps a download manifest, and lets you query OHLC without
re-learning the layout every quarter.
Download from NSEResume-friendly dated archives with throttling and skip-existing defaults.
fetch-bundlePull the tracked GitHub
nse-data/ tree as a zip when you want a ready archive.NSEData APIOHLC, F&O bars, index closes, deals, coverage gaps — from a few Python calls.
Python 3.13+
pip install powernse (includes pandas) · DataFrame helpers on NSEData.Try it¶
pip install powernse
powernse bhavcopy --resume
powernse fetch-bundle --force
powernse ohlc RELIANCE --from 2024-08-01 --to 2024-08-05
powernse doctor
from datetime import date
from powernse import NSEData
data = NSEData("./nse-data")
bars = data.ohlc("RELIANCE", from_date=date(2024, 8, 1), to_date=date(2024, 8, 5))
Guides¶
| Install | pip / uv / clone |
| Quick start | Download and query |
| Archives | Every downloader |
| NSEData | Python API |
| fetch-bundle | GitHub zip extract |
| Disclaimer | Unofficial · educational use |
| Changelog | What shipped |