search for: settargetrisk

Displaying 1 result from an estimated 1 matches for "settargetrisk".

Did you mean: gettargetrisk
2010 Jan 21
0
fPortfolio prob: maxreturnPortfolio() returns Na/NaN/Inf error
Hi - First posting here. I am using fPortfolio to try and optimize a simple portfolio consisting of 5 daily return series. I want to maximize return subject to setTargetRisk(myspec)=0.08 using only constraints="LongOnly" I can run feasiblePortfolio() using a spec file that specifies the weights, and it works fine. When I run maxreturnPortfolio(mydata,myspec,"LongOnly"), however, I get Error in .rquadprog(Dmat = args$Dmat, dvec = args$dvec, Amat =...