CLOSING BELL: US stock indexes end with meager gains

The Associated Press
Trader Kevin Lodewick works on the floor of the New York Stock Exchange, Tuesday, May 2, 2017. U.S. stocks are opening slightly higher as investors find a lot to like in corporate first-quarter results. THE ASSOCIATED PRESS

NEW YORK — U.S. stock indexes are closing slightly higher as gains in industrial companies are offset by losses in automakers and energy companies.

Engine maker Cummins rose 6.1 percent Tuesday.

Automakers were broadly lower after posting weak April sales. Fiat Chrysler lost 4.3 percent and Ford gave up 4.4 percent.

Energy companies fell after oil fell to its lowest price in almost six months. Rig operator Transocean lost 2.3 percent.

The Standard & Poor's 500 index edged up 2 points, or 0.1 percent, to 2,391.

The Dow Jones industrial average gained 36 points, or 0.2 percent, to 20,949. The Nasdaq composite edged up 3 points, or 0.1 percent, to 6,095, another record high. Small-company stocks fell.

Bond prices rose. The yield on the 10-year Treasury note fell to 2.29 percent.