Description Usage Arguments Value
View source: R/modelPortfolio.R
creates modelPortfolio object
1 |
... |
list of models / model in each argument |
w |
numeric type, coefficients strategy in portfolio, example: w = c(1,2) |
money_function |
function type or const, three options are possible |
copy |
logical, if TRUE then method will copy all models passed to it 1) money_function = A = const, all strategies will get A money 2) money_function = scalar function, all strategies will get money_function(start_money_in_strategy) money, example: min 3) money_function = vector function, strategies[i] will get money_function(start_money_in_strategy)[i] money, example: function { 200 + start_money_in_strategy} |
modelPortfolio object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.