Source Code

/Stock Downloader/examples/fromcsv/

main.py

import stockdownloader
 
#Pass the stocklist to the downloader
results = stockdownloader.downloadFromCSV("exampledepot.csv",apikey="key",startdate="2019-08-08",enddate="2021-08-08")
 
#Save the results to a csv file
results.to_csv("output.csv", index = False)