The examples of Universal Portfolios use a long time series of relative stock prices on the NYSE originally accumulated by Cover himself. This series has been reused by many authors to allow for comparisons of algorithms, and the series is available in logopt itself (originally downloaded from this website).
The two first figures introduce two specific stocks (8.1), then a series of CRP and Universal Portfolio for these two stocks (8.2). Each figure is drawn using a standalone snippet of code.
|Performance of Iroquois brands and Kin Ark|
|Performance of rebalanced portfolio|
|Performance of universal portfolio|
Updated on 2012/07/25 to correct code errors and use github:gist as repository for the code examples.