R getReturns> Can't open HTTP status: "404 not found"
Using R (I'm an R newbie). I have installed the stockPortfolio and quadProg packages.
I am trying to run returns <- getReturns(names(stocks), freq="week")
but I am getting an error:
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") : cannot open: HTTP status was '404 Not Found'
How to fix and fix it.
+3
source to share