Markets · Python Lab

NSE & BSE prices. Free Python analysis.

Search the Nifty 500, see NSE and BSE prices refreshed about every 10 minutes in market hours, then run real Python analysis in your browser. No sign-up and nothing to install.

Connecting…

Loading…

–
Check on NSE ↗

Charts and Python tools use NSE daily prices. Prices you have seen are saved on this device, so they open instantly next time.

Python Lab

Analyse this stock with Python

These tools run real Python (pandas and NumPy) on your own device. The first run downloads Python once, which can take up to a minute. Prices keep updating while it loads.

View the Python code
Free & open source

Best free Python tools for market analysis

Want to go further on your own computer or in Google Colab? These tools cover the full job at no cost.

Start in five lines

pip install yfinance pandas

import yfinance as yf
df = yf.download("RELIANCE.NS", period="1y")   # use .BO for BSE
df["SMA20"] = df["Close"].rolling(20).mean()
print(df.tail())

Important: for education and information only. Nothing here is investment advice or a recommendation to buy or sell any security. Prices come from Yahoo Finance through the open-source yfinance library, with the stock list and previous closes from NSE's and BSE's official public files. They are delayed, may be wrong, and are not for trading decisions. Check them with your broker or the exchange. Past results and backtests do not predict future returns. This site is not affiliated with Yahoo, NSE or BSE.