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

27 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.

52 week Returns

[wp_ad_camp_5]

Here are some of the essential 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)

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.

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

Supercharge Your Trading Data Retrieval: Fetch Broker Historical Data…

Efficiently retrieving broker data is critical for traders, especially when working with large datasets or multiple stock symbols. OpenAlgo, simplifies this process with its...
Rajandran R
4 min read

Benchmarking the NVIDIA GeForce RTX 4060 for Machine Learning…

Trading in today’s financial markets isn’t just about intuition and experience—it’s also about data. Whether you're analyzing price movements, testing trading strategies, or monitoring...
Rajandran R
7 min read

How to Speed Up a 1 Billion Iterations Loop…

Python is a versatile and user-friendly programming language, but it’s often criticized for being slow compared to compiled languages like C or C++. A...
Rajandran R
9 min read

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