Add sub-portfolio
Add a sub-portfolio to a multiple layer portfolio specification object
add.sub.portfolio(mult.portfolio, portfolio, optimize_method = c("DEoptim", "random", "ROI", "pso", "GenSA"), search_size = 20000, rp = NULL, rebalance_on = NULL, training_period = NULL, trailing_periods = NULL, ..., indexnum = NULL)
mult.portfolio |
a |
portfolio |
a |
optimize_method |
optimization method for the sub portfolio |
search_size |
integer, how many portfolios to test, default 20,000 |
rp |
matrix of random portfolio weights, default NULL, mostly for automated use by rebalancing optimization or repeated tests on same portfolios |
rebalance_on |
haracter string of period to rebalance on. See
|
training_period |
an integer of the number of periods to use as a training data in the front of the returns data |
trailing_periods |
an integer with the number of periods to roll over (i.e. width of the moving or rolling window), the default is NULL will run using the returns data from inception |
... |
additonal passthrough parameters to |
indexnum |
the index number of the sub portfolio. If |
Ross Bennett
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.