Stock Delivery Analysis using Pandas
Well, I am not a Trader but I tried to learn some concepts of Swing Trading and while learning that I came across the concept of Stock Delivery and it's analysis. In this Blog I will tell you about how you can do stock delivery analysis using Pandas Library based on stock delivery data from NSE website. What is Stock Delivery Stock delivery means buying a stock and it gets deposited in your Demat Account so basically any individual buy particular quantity of stock and hold it in his demat account. Basic Setup for running the Script Install Following python package in your virtualenv - pandas - nsepy Use following command to install above package pip install pandas pip install nsepy Get Stock Delivery Data Now let's start working on analysis. In this blog we will explore how to get delivery data and calculate 10 days and 20 days delivery average of stock Import the necessary library import pandas as pd from nsepy import get_history from datetime import datet...