Data Download From Bhavcopy in R

download Data Download From Bhavcopy in R

of 2

description

This file is not my work, took it from internet, lost the source but very nice work. I tested it & was able to download data for past several years for indian stocks (NSE). Thanks to the person who uploaded the code in net.

Transcript of Data Download From Bhavcopy in R

#Define start and end dates, and convert them into date formatstartDate = as.Date("2013-04-17", order="ymd")endDate = as.Date("2013-04-25", order="ymd")#work with date, month, year for which data has to be extractedmyDate = startDatezippedFile