I am trying to use the quantmod package. I do not understand how to fix this error. I am new to R and i feel like i've just hit a wall for 3 days. Please help Ive put my code below.
df <- data.frame()
install.packages("quantmod")
library(quantmod)
df<- data.frame(getSymbols("APPL",auto.assign = F))
This is the console output:
Warning: APPL download failed; trying again.
Error in getSymbols.yahoo(Symbols = "APPL", env = <environment>, verbose = FALSE, :
Unable to import “APPL”.
APPL download failed after two attempts. Error message:
HTTP error 404.