Description Usage Arguments Examples
This function will perform portfolio simulation with historical average returns and standard deviatoins. Mean-variance model, or modern portfolio theory, is a mathmatical framework for accessing a portfolio. It uses the variance of asset returns as a risk proxy. This function will return a number of simulated portfolio with different weights.
1 | pt.hismv(r,n,mini)
|
r |
:a data frame of asset returns |
n |
:number of portfolio simulated |
mini |
:minimal weight; choose 0 if long only; choose 1 for possible short position |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.