Algorithmic Asset Diversification