The Dow Jones industrial average notched its ninth gain in a row Wednesday, giving the index its longest winning streak in more than 16 years.

The index edged up 5.22 points to 14,455.28. The Dow has risen every day this month and is up 10.3 percent this year, having surpassed its previous record of 14,164.53 March 5.

advertisement | advertise on newsday

Demand for stocks has been propelled this year by optimism that the U.S. housing market is recovering and that companies have started to hire. Strong company earnings and ongoing stimulus from the Federal Reserve are also helping make stocks more attractive.

The Dow's last nine-day winning streak was logged in May 1996. In November of the same year, in the early days of the technology boom, it gained for 10 straight days.

Stocks overcame an early loss Wednesday, having edged lower at the start of the trading day despite an unexpectedly strong increase in U.S. consumer spending last month.

The failure of the market to rally directly after the report of higher consumer spending in February suggests that the bar has now risen for investors as stocks have rallied.

"As the market rises, so do expectations," said Bill Stone, chief investment strategist at PNC Wealth Management.