/stockdatausingapi

Part of the Statistics for Data Science - II course from IIT Madras' BSc in Programming and Data Science

Primary LanguagePythonMIT LicenseMIT

Retriving Stocks Data using AlphaVantage API

Part of the Statistics for Data Science - II course from IIT Madras' BSc in Programming and Data Science

Instructions:

1. Select your tickers (max 6 per 5 minutes) using the list provided in the runfirst.py file
2. Add your API Key in the for loop in runfirst.py
3. Run the program. It will be saved in form of a text file named dataset.txt
4. run runlast.py file.
5. Your data will be stored as a csv file at outputdata.csv

That's all! Feel free to modify the code according to your needs!

To Generate a free API Key, go to: https://www.alphavantage.co/support/#api-key