07/12/2013 04:19 EDT | Updated 09/11/2013 05:12 EDT

Meager gains leave US indexes at new records; Boeing slump holds back the Dow; Banks gain

A last-minute turnaround is leaving the stock market with small gains for the day — enough to leave major U.S. indexes at new all-time highs.

The Dow Jones industrial average eked out a gain of three points, just 0.02 per cent, to close at 15,464 Friday.

The Dow was in the red for most of the afternoon because of a sharp drop in Boeing following a fire in a 787 Dreamliner parked in London.

The Standard & Poor's 500 rose five points, or 0.3 per cent, to 1,680.

The Dow and S&P also closed at record highs Thursday.

The Nasdaq rose 21, or 0.6 per cent, to 3,600.

UPS sank 6 per cent after cutting its earnings forecast as customers chose cheaper shipping options.

Banks rose after Wells Fargo and JPMorgan beat earnings forecasts.