(CNBC) Stocks eked out small gains in volatile trading Wednesday, with the Nasdaq briefly hitting a 14-year high.
The Dow Jones Industrial Average finished slightly higher. Wal-Mart climbed, while McDonald's slid.
The S&P 500 and the Nasdaq also squeezed out small gains. The CBOE Volatility Index (VIX), widely considered the best gauge of fear in the market, traded above 14.
Advertisement - story continues below
Meanwhile, the Russell 2000 index earlier hit a new high of 1,183.04, topping its previous all-time record of 1,182.04 reached in mid-January.
Among key S&P sectors, energy and telecoms dragged, while materials held modest gains.