By holding a portfolio containing all the stocks in the market, in proportion to their relative size or capitalization (the number of shares outstanding times the price of their shares), the investor would be guaranteed to receive the market return. Index funds have generally provided higher net returns for investors than actively managed funds that try to beat the market.