sim.optimal | R Documentation |
returns named vector of optimal portfolio weights
sim.optimal(x, y, n, w, h, u)
x |
= a data frame (with columns Alp/Bmk/Sec/Ctry) |
y |
= a numeric vector (initial weight) |
n |
= an integer (name active limit) |
w |
= an integer vector (group limits, names correspond to columns in <x>) |
h |
= an integer (quintile to sell, stocks in bin <h> and higher are flushed) |
u |
= an integer (between 0 and 100) |
Other sim: sim.direction.buy
,
sim.direction.sell
,
sim.direction
, sim.fetch
,
sim.limits
, sim.overall
,
sim.seed
, sim.summ
,
sim.trade.grp
, sim.trade.stk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.