NEW YORK (AP) -- U.S. stocks struggled through a turbulent afternoon day of trading Tuesday and eked out small gains, led by utility and consumer stocks. The price of crude oil continued to fall, and energy and mining stocks tumbled.
Stocks in Asia and Europe had rallied earlier in the day as investors were satisfied with China's fourth-quarter economic growth. The Dow Jones industrial average rose as much as 183 points in the first minutes of trading Tuesday. The gains faded in the afternoon before a late spurt of buying in the last half hour sent indexes mostly higher.
The Dow Jones industrial average rose 27.94 points, or 0.2 percent, to 16,016.02. The Standard & Poor's 500 index rose one point to 1,881.33. The Nasdaq composite index fell 11.47 points, or 0.3 percent, to 4,476.95. Major indexes had plunged Friday, and the Dow and S&P 500 are coming off their worst opening weeks of a year in history.
The Chinese government's report confirmed that the world's second-largest economy is slowing, as annual growth hit a 25-year low in 2015. That can affect demand for everything from energy to metals to consumer goods and heavy machinery. Fears about a slowdown in China, and how abrupt and painful it might be, has helped knock oil prices to 12-year lows.
Safe-play stocks like utilities and telecommunications companies rose the most. AT&T added 52 cents, or 1.5 percent, to $34.51 and NextEra Energy gained $2.55, or 2.4 percent, to $107.81. Consumer goods maker Procter & Gamble, the maker of Tide detergent and Charmin toilet paper, gained $1.75, or 2.3 percent, to $76.73.
U.S. crude fell 96 cents, or 3.3 percent, to close at $28.46 a barrel in New York. Brent crude, a benchmark for international oils, rose 21 cents to close at $28.76 a barrel in London.
Energy stocks continued to fall on concerns about reduced worldwide demand. Chesapeake Energy lost 48 cents, or 13.5 percent, to $3.08. Marathon Oil fell 46 cents, or 5.7 percent, to $7.68.
The price of gold fell $1.60 to $1,089.10 an ounce. Silver rose 22.5 cents, or 1.6 percent, to $14.121 an ounce. Copper gained 3.4 cents, or 1.7 percent, to $1.978 a pound. Gold miner Newmont Mining lost $1.39, or 7.9 percent, to $16.31 and copper producer Freeport-McMoRan gave up 39 cents, or 9 percent, to $3.96. Freeport-McMoRan shares have skidded 41.5 percent in 2016.
Delta Air Lines reported a bigger fourth-quarter profit because of falling fuel prices. Delta said it expects fuel to be even less expensive in the first quarter. Its shares rose $1.46, or 3.3 percent, to $45.96. Health insurer UnitedHealth Group posted stronger-than-expected results in the fourth quarter. Its stock rose $3.31, or 3 percent, to $112.58.
Netflix surged aftermarket as the company's net income surpassed analyst forecasts and its international subscriber growth was stronger than Netflix had expected. Netflix's stock surged 8 percent in extended trading to $116.75.
Jewelry retailer Tiffany fell after reporting that sales dropped in the fourth quarter and said it will eliminate some jobs. The company also forecast minimal earnings and sales growth in 2016. The stock lost $3.43, or 5.1 percent, to $64.22.
So far not a single U.S. company has gone public this year, according to Kathy Smith of Renaissance Capital, a manager of IPO-focused exchange-traded funds. That should change this week, as Elevate Capital, which offers credit and related services to people with below-average credit, is expected to start trading Friday. But Smith said only two companies will go public this month. There were also just two IPOs in December, the fewest in any month since October 2011.
"The IPO market is pretty close to being closed," Smith said.
Companies are reluctant to go public when the market is weak, and the companies that did go public last year weren't rewarded for it: Smith says the companies that completed their IPOs in 2015 are down an average of 17 percent from their offering prices.
France's CAC 40 rose 2 percent and Germany's DAX added 1.5 percent. Britain's FTSE 100 gained 1.7 percent. China's Shanghai Composite surged 3.2 percent and Hong Kong's Hang Seng gained 2.1 percent. Japan's Nikkei 225 inched up 0.5 percent.
The U.S. dollar slipped to 117.44 yen from 117.50 yen on Monday. The euro rose to $1.0923 from $1.0885. Bond prices slipped. The yield on the 10-year Treasury note, which has slumped this year, rose to 2.05 percent from at 2.04 percent.
In other trading of energy futures, the price of wholesale gasoline inched up 0.5 cents to $1.026 a gallon. Heating oil fell 2.6 cents to 90.9 cents a gallon. Natural gas slipped 0.9 cents to $2.091 per 1,000 cubic feet.