Skip to content

hckyou7/nsepython

 
 

Repository files navigation

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.

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

pip install nsepython

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

pip install nsepythonserver

Demo Video

fetches the price history of stocks

fetches the price history of derivatives

Daily Bhav Copy

Index Historical PE, PB and Dividend Ratio

Fetch the expiry date of derivative contracts

Fetch the historical expiry date of derivative contracts

Fetch Option chain data

Options Chain Analysis

All Expiry Option Chain Data

All equities in a single list

Getting live equities Quotes

Getting Volatility/delivery data

Getting live ltp

Getting live derivative Quotes

Find NSE Large Deals

NSE FNO Participant Wise OI API

NSE Most Active / Top Gainers / Top Looser / Most Active by Volume / Most Active by Value

Fetch pre-open market data

Stock Beta / NSE Holiday / Event Calendar / Company Results / Stocks that hit Upper circuit / Stocks that hit Lower circuit / Large Deals

FII and DII trades data / Lot Size

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

About

The Unofficial Python Wrapper for NSEIndia API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%