Portfolio Modelling using R
Budget: €8 – €30 EUR
Using R to Construct Multi-Asset Portfolio
i want someone to run that code
https://rforanalytics.com/10.5-using-r-to-construct-multi-asset-portfolio.html
to stocks : Amazon,google ,meta,microsoft, nvidia
dates 1-1-2019 until 1-1-2021
i m trying to run it
# download prices and create returns from Adjusted Prices
data1 = lapply(s1, FUN = function(x) {
ROC(Ad(getSymbols(x, from = "2019-07-01", to = "2021-06-30", auto.assign = FALSE)),
type = "discrete") * 100
}) #%returns
Warning: NVDA.AX download failed; trying again.
Error in getSymbols.yahoo(Symbols = "NVDA.AX", env = <environment>, verbose = FALSE, :
Unable to import “NVDA.AX”.
NVDA.AX download failed after two attempts. Error message:
HTTP error 404.
i want someone to run that code
https://rforanalytics.com/10.5-using-r-to-construct-multi-asset-portfolio.html
to stocks : Amazon,google ,meta,microsoft, nvidia
dates 1-1-2019 until 1-1-2021
i m trying to run it
# download prices and create returns from Adjusted Prices
data1 = lapply(s1, FUN = function(x) {
ROC(Ad(getSymbols(x, from = "2019-07-01", to = "2021-06-30", auto.assign = FALSE)),
type = "discrete") * 100
}) #%returns
Warning: NVDA.AX download failed; trying again.
Error in getSymbols.yahoo(Symbols = "NVDA.AX", env = <environment>, verbose = FALSE, :
Unable to import “NVDA.AX”.
NVDA.AX download failed after two attempts. Error message:
HTTP error 404.