U.S. stocks were little changed, with benchmark indexes extending all-time highs, as gains in homebuilder shares helped offset losses among industrial companies.

The Standard & Poors 500 Index (SPX) rose 0.1 percent to 2,039.75 at 4 p.m. in New York for a fifth straight gain, the longest rally since June. The Dow Jones Industrial Average climbed 2.06 points, or less than 0.1 percent, to a record 17,615.80. It has gained six sessions in a row. U.S. Treasury markets are closed for the Veterans Day holiday.

The S&P 500 has rebounded 9.5 percent from a six-month low in October amid better-than-estimated corporate results and signs the economy is weathering a global slowdown and the end of the Federal Reserves bond-buying program.

The Chicago Board Options Exchange Volatility index has lost 15 percent in the past four days. The drop has brought the gauge of S&P 500 options, known as the VIX, down 52 percent since a two-year high on Oct. 15. It gained 3.8 percent today.