Description Usage Arguments Value
Function used to find the efficient frontier by using the modern portofilio theory
1 2 3 4 5 6 7 8 | eff.frontier(
returns,
covMat = NULL,
short = "no",
max.allocation = NULL,
risk.premium.up = 20,
thread = 3
)
|
returns |
argument should be a m x n matrix with one column per security |
covMat |
the covariance matrix |
short |
short selling or not |
max.allocation |
is the maximum allowed for any one security- reduces concentration |
risk.premium.up |
is the upper limit of the risk premium modeled, usd the nearPD to make the correlation matrix postive definite |
thread |
the multithreads argument |
a data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.