Stocks closed mixed on Wall Street as technology companies took their worst losses in six weeks but energy companies rose along with oil prices, the AP reports. A small loss for the S&P 500 ended a four-day winning streak for the index. Energy companies rallied as the price of US crude oil rose almost 2%. Chevron climbed 2.9%. Smaller companies fell. Like technology companies, they've done far better than the rest of the market recently. The S&P 500 slipped 2 points, or 0.1%, to 2,770. The Dow Jones industrial average climbed 95 points, or 0.4%, to 25,241, largely thanks to a big gain in McDonald's. The Nasdaq composite lost 54 points, or 0.7%, to 7,635. (More stock market stories.)