Welcome to NSE’s documentation!¶
NSE is an unofficial lightweight Python client for the National Stock Exchange of India. Built for traders, analysts, and quant developers who need reliable programmatic access to NSE data without having to worry about cookie handling, rate limits, and retries under flaky network conditions.
Python version: >= 3.8
GitHub Source: BennyThadikaran/NseIndiaApi
Contents¶
- Installation & Basic Usage
- Configuration
- Exception Handling
- API
- NSE class
NSE- General Methods
- Stocks Quotes and Market info
NSE.equity_meta_info()NSE.shareholding()NSE.quote()NSE.equity_quote()NSE.get_detailed_scrip_data()NSE.live_volume_gainers()NSE.gainers()NSE.losers()NSE.advance_decline()NSE.fetch_index_names()NSE.fetch_equity_historical_data()NSE.fetch_historical_vix_data()NSE.fetch_historical_fno_data()NSE.fetch_historical_index_data()NSE.fetch_fno_underlying()
- List Stocks
- List IPOs
- NSE Circulars
- Download NSE reports
- Corporate Announcements and Actions
- Futures and Options (FnO)
- Retry Configuration
- Type Reference
- OHLCV
- CompiledOptionChain
CompiledOptionChainCompiledOptionChain.atmCompiledOptionChain.chainCompiledOptionChain.coi_totalCompiledOptionChain.expiryCompiledOptionChain.max_coiCompiledOptionChain.max_painCompiledOptionChain.max_poiCompiledOptionChain.pcrCompiledOptionChain.poi_totalCompiledOptionChain.timestampCompiledOptionChain.underlying
- StrikeRow
- OptionLeg
- NSE class
- Utilities
- Running NSE in Server Environments
- Migration Guide: 4.0.1 → 5.0.0
- Before You Upgrade
- Breaking Changes at a Glance
- 1. Installation Changes
- 2. Constructor Changes
- 3. Public Method Renames
- 4. Parameter Renames
- 5. Option Chain Result Keys
- 6. Exception Model
- 7. On-Disk State Changes
- 8. Rate Limiting
- 9. Existing Downloads Are No Longer Re-downloaded
- 10.
fno_lotsChanges - 11. End-to-End Migration Example
- 12. Migration Checklist
- 13. Recommended Upgrade Procedure
- Summary