universal.cover.random: Universal portfolio selection algorithm from Cover

Description Usage Arguments Details Value Author(s) References

Description

Implement the universal portfolio selection algortihm defined by Cover using a sampling approach, needed to avoid exponential complexity in number of stocks.

Usage

1
universal.cover.random(x, n, method)

Arguments

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"

Details

Straightforward implementation of Cover's algorithm, evaluate the CRP at the random sample points, return the observed average wealth.

Value

Return the time series of portfolio wealths.

Author(s)

Marc Delvaux

References

Thomas M. Cover. Universal Portfolios. Mathematical Finance, 1(1): 1-29, January 1991.


logopt documentation built on May 2, 2019, 5:49 p.m.