Shilpa Santosh Engineer and Aspiring Python Coder at Marketcalls. Love to explore the complexity of the Financial Markets.

To Compute Sectoral NSE Indices Returns using Python

23 sec read

First of all thanks for your impressive and motivational response for the Nifty Returns Heatmap Generation post. Here is yet another simple visualization stuff using python to compute bunch of NSE Sectoral Indices returns (52 Weeks, YTD , MTD, Last month returns) and visualize the same in a barchart.

Here are the python libraries required for Stock Market Data Visualization

IPython (Interactive Python)
Seaborn (Statistical Data Visualization Package )
Pandas (Python Library to handle time series data )
NSEpy (Fetch Historical data from NSEpy, NSEpy 0.3 ver or higher)
Matplotlib (Python library to handle 2D plotting)

Python for traders, the quick way in

BEGINNER FRIENDLY · RATED 5.0

Python for traders, the quick way in

A crash course that gets you from zero to writing your own market data scripts.

  • Python basics with market examples
  • Fetch, clean and chart price data
  • Lifetime access
Start learning →by Marketcalls

Sample IPython Notebook to To Compute Sectoral NSE Indices Returns using Python below :

In the next time will try to bring more interesting and informative analytics.

Python Elite membership

MEMBERSHIP

Python Elite membership

15 Python, AI and algo trading programs in one plan, including QuantFlow and AI Bootcamp live mentorship.

  • Python from fundamentals to trading apps
  • Backtesting, broker APIs and OpenAlgo
  • Live QuantFlow and AI Bootcamp sessions
View Python Elite →by Marketcalls

Learn by watching: free videos every week

Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.

Shilpa Santosh Engineer and Aspiring Python Coder at Marketcalls. Love to explore the complexity of the Financial Markets.

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More