Displaying 1 result from an estimated 1 matches for "deviationreturn".
Did you mean:
deviationreturns
2016 Apr 22
0
non-numeric argument to binary operator problem in stock analysis
...;, 'F')getSymbols(Potf, from="2011-01-01", env=myenv)ts<-do.call(merge,eapply(myenv, Ad))
#we allocate equal weights to every stocksstocks <- c('IBM'=.20, 'KO'=.20, 'C'=.20, 'TSLA'=.20, 'F'=.20)#get Monthly Expected Return and Standard Deviationreturns <-getReturns(names(stocks),freq = "month",start = "2011-01-01")
[[alternative HTML version deleted]]