optimalPortfolio | R Documentation |
Kelly-criterion for long and short portfolios under GBM with rolling estimations. Price data will either be looked up or can be passed.
optimalPortfolio( symbols, rate = 0, restraint = 1, rollingPeriod = 60, stocks = NULL )
symbols |
portfolio of stocks |
rate |
risk-free rate on cash |
restraint |
percentage of wealth to go up to |
rollingPeriod |
rolling period size, can be |
stocks |
default NULL, data returned from |
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.