View source: R/geometricBrownianMotion.R
entropyPortfolioGBM | R Documentation |
A wrapper to solve.QP
for computing optimal portfolios
under a market of correlated geometric Brownian motions.
entropyPortfolioGBM(drift, Sigma, rate = 0, restraint = 1, direction = "long")
drift |
the drift vector of the GBMs |
Sigma |
the covariance matrix of the GBMs |
rate |
the rate earned on cash in a money market account, etc |
restraint |
percentage of wealth to bankroll |
direction |
the direction of the bet: long or short |
The drift of the log-returns and covariance must be passed.
list of growth rate and optimal portfolio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.