Description Usage Arguments Details Value Author(s) References
Implement the universal portfolio selection algortihm defined by Cover using a sampling approach, needed to avoid exponential complexity in number of stocks.
1 | universal.cover.random(x, n, method)
|
x |
Time series of relative prices |
n |
Number of sample points used |
method |
Probability function controlling the sampling, supported at this time are: "uniform" and "dirichlet" |
Straightforward implementation of Cover's algorithm, evaluate the CRP at the random sample points, return the observed average wealth.
Return the time series of portfolio wealths.
Marc Delvaux
Thomas M. Cover. Universal Portfolios. Mathematical Finance, 1(1): 1-29, January 1991.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.