Nano Course On Python For Trading
==========================
Module 2

In this post, I will attempt to show a simple Python code to download the past 5 years' Nifty50 stocks EOD Data using the NSEpy library in less than 2

The first few lines are simple to import statements. Pulling public library NSEpy https://t.co/OW1TPC7QXC that we can use to extract historical and real-time data from NSE’s website. Then, we import the most popular pandas library.
Then I define a function "fetchData" that fetches the data using the built-in get_history function of the nsepy library. I adjust the original data frame to store open, high, low and close prices. The original data frame sends more columns - Volume, Turnover, %Deliverable, etc.
I then go ahead and put all Nifty50 tickers in a Python list named nifty50list. I also set our start-date (2014-01-01), end-date(2022-01-21) in the YYYY-MM-DD format, and the path where I want to save my files on my PC.
Finally, I loop through all the Nifty50 tickers calling the fetchData function on each of them and saving them in the path specified above in the CSV format e.g. ADANIPORTS.csv, which came first. This process is repeated for each and every symbol in Nifty50.
The result is 2 minutes to download 50 stocks worth of data! Each ticker's data is saved in a file named Ticker.csv You can visit this colab notebook and try out your hands with the code https://t.co/HDB94AATFr
In Module 3, we will learn to use this data to create and test some trading strategies. Until then, take care and have a great time learning.
Note: NSE website official Terms of Use section 22.f reads as below:

22. Specific Prohibited Uses:

The Site may be used only for lawful purposes by individuals for personal, non-commercial use only. NSE specifically prohibits any other use of the Site.

You May Also Like

@franciscodeasis https://t.co/OuQaBRFPu7
Unfortunately the "This work includes the identification of viral sequences in bat samples, and has resulted in the isolation of three bat SARS-related coronaviruses that are now used as reagents to test therapeutics and vaccines." were BEFORE the


chimeric infectious clone grants were there.https://t.co/DAArwFkz6v is in 2017, Rs4231.
https://t.co/UgXygDjYbW is in 2016, RsSHC014 and RsWIV16.
https://t.co/krO69CsJ94 is in 2013, RsWIV1. notice that this is before the beginning of the project

starting in 2016. Also remember that they told about only 3 isolates/live viruses. RsSHC014 is a live infectious clone that is just as alive as those other "Isolates".

P.D. somehow is able to use funds that he have yet recieved yet, and send results and sequences from late 2019 back in time into 2015,2013 and 2016!

https://t.co/4wC7k1Lh54 Ref 3: Why ALL your pangolin samples were PCR negative? to avoid deep sequencing and accidentally reveal Paguma Larvata and Oryctolagus Cuniculus?