search for: ffiv

Displaying 1 result from an estimated 1 matches for "ffiv".

Did you mean: fdiv
2011 Mar 12
3
pass character vector in instrument field of get.hist.quote function
...e a data frame of stock ticker symbols which I store into R space from a txt file as follows: tickers <- read.csv("stocks.txt", header=FALSE, sep=",") tickers <- tickers[1] / the tickers are stored in the first column > tickers V1 1 BCSI 2 WBSN 3 NTAP 4 FFIV 5 SU > is.vector(tickers) [1] FALSE > > is.data.frame(tickers) [1] TRUE I tried to do the following without success. stockdata <- data.frame() stockdata <- coredata(get.hist.quote(instruments=tickers, start="2011-01-01", end="2011-01-31", quote=c(&quot...