daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. S&P <-read.table("D:/snp.csv", quote=""", comment.char="")
  2. S&P.v2 <- as.character(S&P[,1])
  3. S&P.v2
  4. ticker<-list()
  5. for (v1 in S&P.v2) {
  6.   ticker<-getSymbols(v1,src = 'yahoo', from='2013-1-1',to='2018-3-
  7. 20',auto.assign = TRUE)
  8. }
  9. ticker
RAW Paste Data
Top