powered by
This function returns the solution of the global minimum variance portfolio (long-only).
PGMV(Returns, percentage = TRUE, optctrl = ctrl(), ...)
An object of formal class "PortSol".
"PortSol"
A rectangular array of return data.
Logical, whether the weights shall be returned as decimals or percentages (default).
Object of class Rcpp_CTRL.
Rcpp_CTRL
Arguments are passed down to cov.
cov
Bernhard Pfaff
data(MultiAsset) Rets <- returnseries(MultiAsset, method = "discrete", trim = TRUE) PGMV(Rets)
Run the code above in your browser using DataLab