Energy companies’ stocks jumped with the price of oil Wednesday, but overall, stocks finished only slightly higher as a quiet week of trading continued. EOG Resources gained 3.2 percent, and Chevron added 1.4 percent.
The price of US crude oil jumped 3 percent as fuel stockpiles kept shrinking, and that made investors more optimistic about energy company profits. Strong earnings from video game maker Electronic Arts and chip maker Nvidia helped technology stocks move up. Nvidia advanced 17.8 percent, and EA rose 12.7 percent. But weak results from Priceline and Disney (down 4.5 percent and 2.2 percent, respectively) hurt consumer-focused companies, and health care stocks stumbled as drug companies fell. Investors didn’t react much to President Trump’s surprise decision to fire FBI Director James Comey. Nor did stocks react much to the French presidential election on Sunday, although European indexes climbed after the win by centrist Emmanuel Macron. Boeing lost 1.2 percent; it suspended test flights of its new 737 Max because of a possible engine part issue. The Max is designed to be a fuel-efficient version of the 737.