NSEPython Documentation

logo

NSEPython is a Python library to get publicly available data on the current NSEIndia and NIFTY Indices site by communicating with their REST APIs.

logo

Support and Beta Functions

Versions

There are two versions of NSEPython depending on the execution environment. While it’s technically feasible to combine these versions into a single program, doing so could introduce latency. Given the financial nature of this program, time is of the essence.

NSEPython Edition Compatibility Tested Environments
Local Edition Laptops (Windows 9, 10) Windows 9, Windows 10
Server Edition Servers (AWS, Google Colab, DigitalOcean) AWS, Google Colab, DigitalOcean

Installation

Use the package manager pip to install nsepython.

NSEPython Local Edition

Access NSEPython for laptops, specifically tailored for Windows 9 and Windows 10 compatibility.

pip install nsepython

NSEPython Server Edition

Leverage NSEPython designed for server environments, seamlessly functioning on AWS, Google Colab, and DigitalOcean.

pip install nsepythonserver

Cross Library Migration

All the functions from the two renowned packages, NsepY and NSETools, have been migrated here with the same function names. Both of these packages had been left unmaintained for a considerable period.

Advanced Usecases

Mastering AlgoTrading: A Beginner’s Guide using NSEPython

Designing an Index Fund From Scratch in Indian Share Market

Coding Heatmap and ORB

Markov Chain

Leverage

In Leverage, a plethora of trader-focused tools has been meticulously crafted using NSEPython.

Here’s an illustration of a Sectoral Heatmap, showcasing the extent of complexity that NSEPython API can effortlessly handle.

logo

2 Likes