Skip to main content

Python library for extracting realtime data from National Stock Exchange

Project description


Python library for extracting realtime data from National Stock Exchange (India)


nsetools is a library for collecting real time data from National Stock Exchange (India). It can be used in various types of projects which requires getting live quotes for a given stock or index or build large data sets for further data analytics. You can also build cli applications which can provide you live market details at a blazing fast speeds, much faster that the browsers. The accuracy of data is only as correct as provided on

Main Features:

  • Getting live quotes for stocks using stock codes.
  • Return data in both json and python dict and list formats.
  • Getting quotes for all the indices traded in NSE, e.g CNX NIFTY, BANKNIFTY
  • etc.
  • Getting list of top losers.
  • Getting list of top gainers.
  • Helper APIs to check whether a given stock code or index code is correct.
  • Getting list of all indices and stocks.
  • Cent percent unittest coverage.


To keep it simple and supported on most of the platforms, it uses only core python libraries, hence there are no external dependencies. It can be used out of box and absolutely not set up is required except an internet connection.

Detailed Documenation

For complete documenation, please refer

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nsetools, version 1.0.11
Filename, size File type Python version Upload date Hashes
Filename, size nsetools-1.0.11-py3-none-any.whl (9.6 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page