Description Usage Arguments Details Value References See Also Examples
The function ConstantPortfolio
is creates an fgp
object representing the constant-weighted portfolio with a given weight vector.
1 | ConstantPortfolio(weight)
|
weight |
a numeric probability vector. |
The constant-weighetd portfolio is a functionally generated portfolio generated by the geometric mean (see GeometricMean
). One example is the equal-weighted portfolio. The portfolio maintains the same weight in every period.
An fgp
object.
Fernholz, E. R. (2002) Stochastic portfolio theory. Springer.
1 2 | # Define the constant-weighted portfolio (0.2, 0.3, 0.5) for 3 stocks
portfolio <- ConstantPortfolio(c(0.2, 0.3, 0.5))
|
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.