A Python package to fetch data from the National Stock Exchange (NSE) of India, including market data, IPOs, indices, and more.
pip install NseKitfrom NseKit import Nse
get = Nse()
# Fetch trading holidays
holidays = get.nse_trading_holidays()
print(holidays)
# Fetch live market turnover
turnover = get.nse_live_market_turnover()
print(turnover)
# Fetch historical index data
nifty_data = get.index_historical_data("NIFTY 50", period="1M")
print(nifty_data)- Python 3.7+
MIT License