NEW YORK — The latest on developments in financial markets (All times local):

4:00 p.m.

U.S. stock indexes ended mixed as energy companies slid, pushed lower by a downturn in energy prices.

Auto parts makers and car companies dropped Wednesday after O’Reilly Automotive reported weak sales in the second quarter. O’Reilly plunged 19 percent.

More stocks fell than rose on the New York Stock Exchange and most industry groups were lower.

Technology stocks bucked the trend and moved higher. Advanced Micro Devices jumped 8.6 percent.

The Standard & Poor’s 500 index edged up 4 points, or 0.2 percent, to 2,433. The Dow Jones industrial average was little changed at 21,478.

The Nasdaq composite added 40 points, or 0.7 percent, to 6,150.

The Russell 2000 of small-company stocks fell 6 points, or 0.5 percent, to 1,420.


11:45 a.m.

Stocks are mostly lower on Wall Street in midday trading as oil and gas companies sink following a downward turn in energy prices.

Energy companies were posting the biggest losses Wednesday after the price of crude oil dropped following an eight-day rally.

Chesapeake Energy slumped 6.6 percent and Hess sank 3.5 percent.

Auto parts makers and car companies skidded after O’Reilly Automotive reported weak sales. O’Reilly Automotive plunged 20 percent.

The Standard & Poor’s 500 index edged up 2 points, or 0.1 percent, to2,431. The Dow Jones industrial average fell 10 points, or 0.1 percent, to 21,468.

Technology stocks bucked the downward trend and rose. The Nasdaq composite added 25 points, or 0.4 percent, to 6,135.

More stocks fell than rose on the New York Stock Exchange.


9:35 a.m.

Stocks are opening slightly lower, led by declines in phone stocks and energy companies.

Oil and gas stocks were falling early Wednesday along with energy prices. Chesapeake Energy slumped 3.8 percent and Hess sank 3.4 percent.

Monogram Residential Trust soared 22 percent after it agreed to be acquired for $3 billion.

Auto parts maker O’Reilly Automotive is down 10 percent after it reported weak second-quarter results.

The Standard & Poor’s 500 index was little changed at 2,429. The Dow Jones industrial average fell 28 points, or 0.1 percent, to 21,451. The Nasdaq composite rose 19 points, or 0.3 percent, to 6,129.

Two stocks fell for every one that rose on the New York Stock Exchange.