It was a very good year for the stock market, but 2017 was a great year if you made airplanes (think Boeing), were an online juggernaut (Amazon) or built homes (KB Homes). It was a year to forget if you were an energy company (Chesapeake) made Barbie dolls (Mattel) or if you were a storied industrial conglomerate about to go on a radical slim-down program (General Electric).
The stock market had a banner year overall, with the Dow Jones industrials average up more than 25 percent since last January, but there were plenty of even bigger winners, and big losers, among individual U.S. companies. Here's a look at a few of them.
Winner: the mighty Amazon
Amazon.com Inc. (AMZN) gained 58 percent in 2017 -- hardly shabby, but that number only begins to tell of the enormous effect the company had on the broader market. No other company struck as much fear in its rivals, or potential rivals.
Department stores and mall-based retailers continued to plunge as Americans did more of their shopping at Amazon, while other companies like Walmart (WMT) raced to build up their own online offerings. And when in June, investors dumped the stocks of supermarket companies, certain they'd take a shellacking from their new competitor.
Blue Apron (APRN), a startup that went public in June, took a dive when Amazon got into the meal kit business. And in the fall, a number of drugstore companies tanked at the prospect that Amazon was thinking of getting into drug distribution.
Winner: Boeing takes flight
Boeing (BA) soared 90 percent, one of its best years on record. The aerospace giant has benefited greatly as the global economy kicked into a higher gear, increasing demand for airplanes. The U.S. economy continued to grow, while major regions like Europe and Japan did better than they had in recent years.
At the same time, military spending in the U.S. is expanding again. It had been declining as combat operations in Iraq and Afghanistan wound down. Late in the year, Boeing became the, giving it more influence on the blue-chip index than any other company.
Winner: Homebuilders breaking ground
Homebuilders made huge gains for the year as housing prices continued to rise. There are relatively few homes on the market, but demand is strong thanks to the growing economy, solid hiring, and low mortgages rates. Late in the year, sales of new homes reached a 10-year high, and many economists think the trend will continue in 2018.
The companies dramatically outperformed the market. NVR and KB Home (KBH) both doubled, PulteGroup and D.R. Horton rose almost as much. Without a lot of houses for sale, people also spent more money on home improvement. That was good for Home Depot and Lowe's.
Loser: GE's dimming fortunes
The icon of U.S. industry, General Electric (GE) saw its stock price slump 45 percent as investors wondered what its future will look like. GE health care executive John Flannery replaced Jeffrey Immelt as chairman and CEO as Immelt's 16-year tenure came to an end. Soon after he took over, Flannery said GE will shed about $20 billion in businesses over the next few years. He said 2018 will be a "reset" for GE as the company narrows its focus down to aviation, health care and energy. GE slashed its dividend for the first time in decades, its chief financial officer and two vice chairs departed, and its board will shrink from 18 to 12.
Loser: flagging energy companies
The price of crude oil barely moved in 2017, and energy companies faded after a big gain the year before. While oil prices are stronger than they were and energy companies have cut spending, it's hard to see what would make oil prices go higher and stay there. U.S. crude has stayed between about $45 and $58 a barrel since early last year. Analysts think that if prices did peek above their current levels, companies — especially shale oil firms in the U.S. — would start producing more oil, which would knock prices down again.
Among energy companies, Baker Hughes (BHGE) dropped 51 percent. Hess fell 23 percent and Exxon Mobil lost 7 percent.
Loser: Faded fun at Mattel
Mattel (MAT) didn't have much fun in 2017 either. Rival toy maker Hasbro (HAS) continued to benefit from a partnership with Disney, as Habro's quarterly sales topped Mattel's at least twice. Mattel had outsold Hasbro every quarter for 17 years. In September retailer protection, which hurt both companies. But even with those problems and growing numbers of kids picking tablets over toys, Hasbro had a strong year and rose 19 percent. But Mattel plunged 43 percent. Its only real bright spot came in November, when the Wall Street Journal reported that . But those gains faded as Mattel reportedly rejected that overture.