A utility for computing prices, weights, and returns for a portfolio of assets.