[R] Portfolio Optimization

2016-09-17 Thread Abhinaba Roy
Hi, Has anybody worked on portfolio optimization using Genetic Algorithm in R? Could you please share the code and some references on this topic? Really appreciate your help. Thanks, Abhinaba [[alternative HTML version deleted]] __ R-help@r-

Re: [R] portfolio optimization in R

2014-11-20 Thread Boris Steipe
Indeed. Start here: http://www.r-bloggers.com/three-tips-for-posting-good-questions-to-r-help-and-stack-overflow/ and then read this: http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example Then put some comments into your code about what you think it should do. Oh

[R] portfolio optimization in R

2014-11-19 Thread Esra Ulasan
Dear Sir/Madam, I am a PhD candidate and writing my dissertation about portfolio optimization in R. However, I have some problems with the codes. It always give the dimension error. Could you help me to fix it? Yours sincerely, Here are the codes: optimization <- function(x) { mean <- colMe

Re: [R] Portfolio Optimization

2012-01-13 Thread Enrico Schumann
I would be biased towards using a heuristic, for instance Threshold Accepting (TA), for solving such a problem. (TA is implemented in package NMOF. Disclosure: I am the author of that package.) But you will not find a ready-to-use solution there. (1) you need an objective function, ie, a fun

[R] Portfolio Optimization

2012-01-13 Thread Sal Pellettieri
Hi, I'm an R newbie and I've been struggling with a optimization problem for the past couple of days now. Here's the problem - I have a matrix of expected payouts from different stock option strategies. Each column in my matrix represents a different stock and each row represents the return to th

Re: [R] portfolio optimization problem - use R

2008-07-21 Thread José Augusto Jr.
You could try the fPortfolio package. Wish helps. jamaj 2008/7/21, fzp2008 <[EMAIL PROTECTED]>: > > How to use R to solve the optimisaton problem > > Minimize: > ½*w^T*omega*w+mu^T*w+c^T(w-w0) for w>w0 long position > ½*w^T*omega*w+mu^T*w-c^T(w-w0) for w > W: is the update weight of portfolio >

[R] portfolio optimization problem - use R

2008-07-21 Thread fzp2008
How to use R to solve the optimisaton problem Minimize: ½*w^T*omega*w+mu^T*w+c^T(w-w0) for w>w0 long position ½*w^T*omega*w+mu^T*w-c^T(w-w0) for whttp://www.nabble.com/portfolio-optimization-problem---use-R-tp18570399p18570399.html Sent from the R help mailing list archive at Nabble.com. ___

[R] Portfolio Optimization

2007-09-20 Thread livia
Hello, I would like to solve a portfolio optimization problem in R. As far as I searched, I found the example of "solve.QP" &"portfolio.optim". In my understanding, both of them are based on given expected return, finding the minimum variance. Is there a way of doing this in an opposite way?i.e m