Python codes to fetch & analyze the stock market data

Python codes to fetch & analyze the NSE stock market data

This page consists of basic Python codes to fetch and to analyze the stock market data for equities, index and derivative (futures & options) listed in National Stock Exchange (NSE).

 

 

 

 

 

 

 

 

 

Trade and price data for equity

Download Link

 

Extracting historical price data

Download Link

 

Visualizing historical price data: Plotting a graph

Download Link

 

Extracting historical price data from .csv file

Download Link

 

Calculating Simple Moving Average (SMA)

Download Link

 

Automating the price data fetching

Download Link

 

Importing the fetched price data as .csv file

Download Link

 

Fetching the price data for multiple stocks

Download Link

 

OPEN HIGH OPEN LOW (OHOL) strategy

Download Link

 

Predicting the trend with price change data

Download Link

 

Visualizing the intra-day price change with bar chart

Download Link

 

Haircut data with tkinter module

Download Link

 

Bank NIFTY Option Chain Data

Download Link