Python library for NSE India APIs

pip install nsepython

Trade-Nse

12/8/20231 min read

Welcome

NSEPython is a Python library to get publicly available data on NSE website ie. stock quotes, historical data, live indices, etc.

To use it, open up your terminal in the desired directory and run the following command:

pip install nsepython

Upgrade

In case, Some command is not working, Make sure You’re in the latest version always. We constantly update the API with lots of custom function time to time. To upgrade the program to its latest version, run the following command:

pip install --upgrade nsepython

Input

from nsepython import *

print(indices)

Output

['NIFTY', 'FINNIFTY', 'BANKNIFTY']