R getReturns > cannot open HTTP status was '404 not found' -
using r (i'm r newbie). installed stockportfolio , quadprog packages.
i'm trying run returns <- getreturns(names(stocks), freq="week") i'm getting error:
error in file(file, "rt") : cannot open connection in addition: warning message: in file(file, "rt") : cannot open: http status '404 not found' how troubleshoot , fix this.
try following command:
returns <- getreturns(stocks, freq="week") it shouldn't give error now.
Comments
Post a Comment