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

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

Mastering VectorBT Backtesting and Optimization – Part 1 –…

VectorBT is an advanced backtesting library designed for Python programmers and quantitative analysts. It is particularly beneficial for those who require a fast, flexible,...
Rajandran R
5 min read

How to Fetch Realtime Stock Market Quotes using SmartAPI…

SmartAPI, provided by Angel Broking, offers a robust solution for traders and developers looking to integrate real-time stock market data into their applications. Utilizing...
Rajandran R
6 min read

Mastering Python F-String Formatting: A Trader’s Guide

F-String, introduced in Python 3.6, stands for "Formatted String Literals." It's a way to format strings in Python, allowing for easier and more readable...
Rajandran R
5 min read

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