Banks led stocks mostly lower on Wall Street Tuesday as the market gave up an early gain.

Utilities and industrial companies also took losses, outweighing gains in health care, technology and consumer products stocks. Investors were looking ahead to the Federal Reserve’s next interest rate policy update Wednesday.

On Tuesday:

The S&P 500 index slipped 0.37 points, or 0.01 percent, to 2,832.57.

The Dow Jones Industrial Average dropped 26.72 points, or 0.1 percent, to 25,887.38.

The Nasdaq composite gained 9.47 points, or 0.1 percent, to 7,723.95.

The Russell 2000 index of smaller-company stocks gave up 8.95 points, or 0.6 percent, to 1,554.99.

For the week:

The S&P 500 is up 10.09 points, or 0.4 percent.

The Dow is up 38.51 points, or 0.1 percent.

The Nasdaq is up 35.42 points, or 0.5 percent.

The Russell 2000 is up 1.45 points, or 0.1 percent.

For the year:

The S&P 500 is up 325.72 points, or 13 percent.

The Dow is up 2,559.92 points, or 11 percent.

The Nasdaq is up 1,088.67 points, or 16.4 percent.

The Russell 2000 is up 206.43 points, or 15.3 percent.