Import Indian stock prices into R

finance, r, web

Solution

quantmod does it. Just use the yahoo symbol. (or use the google symbol and use `src="google"` in the `getSymbols` call)

e.g.

getSymbols("HDFCBANK.BO", src="yahoo")
getSymbols("IDFC.NS", src="yahoo")

Problem

Is there a way to import stock price data from Indian stock markets - BSE and NSE into R? I would like to know if there is a package that does what quantmod does from american markets. Any other way this could be approached?

Original source