Mean-variance optimization using Markowitz's Critical Line Algorithm. This algorithm will find the weights of the corner portfolios along the efficiency frontier with a long-only constraint.
devtools::install_github('alejandro-sotolongo/CriticalLineAlgo')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.