* Oil trades near strongest levels since mid-2015
* Retailers up after bullish note
* Indexes up: Dow 0.4 pct, S&P 0.8 pct, Nasdaq 1.5 pct (Updates to close)
By Caroline Valetkevitch
NEW YORK, Jan 2 (Reuters) - U.S. stocks rose on Tuesday in the first session of the new year, pushing the S&P 500 and Nasdaq to record closing highs, as investors were optimistic that 2018 will bring more gains for the market.
Gains were driven the most by technology, but consumer discretionary, healthcare, energy and materials sectors were also up more than 1 percent each.
Apple, Facebook, Alphabet and Microsoft pulled the technology index up 1.4 percent, following a 37-percent surge in 2017 that made it the best-performing S&P sector.
Major stock indexes had closed out 2017 with their best performances since 2013. Many investors say the rally could continue this year with help from the recently approved U.S. tax overhaul that is anticipated to boost profits as well as the economy.
“We’re off to the races once again,” said Stephen Massocca, senior vice president at Wedbush Securities in San Francisco.
“I don’t expect the kind of moves we saw last year. But as long as monetary policy stays the way it is ... my view is stocks are going to have a decent year. And fiscal policy has become stimulative, as well, given the tax bill.”
The Dow Jones Industrial Average rose 104.79 points, or 0.42 percent, to 24,824.01, the S&P 500 gained 22.18 points, or 0.83 percent, to 2,695.79 and the Nasdaq Composite added 103.51 points, or 1.5 percent, to 7,006.90.
“Our best guess is the first quarter or half of the year can be OK as a continuation of last year,” said Paul Nolte, portfolio manager at Kingsview Asset Management in Chicago.
But, he said, there are risks ahead. “Valuations are still stretched, interest rates are still rising, and those will provide headwinds to the market at some point.”
The S&P consumer discretionary index was up 1.5 percent, helped by a gain in Amazon.com of 1.7 percent.
J.C. Penney, Nordstrom and Kohl’s climbed after a bullish Citigroup note on the retail sector detailed benefits from the corporate tax cuts.
Energy shares were up even though oil prices dipped. Oil hovered near mid-2015 highs amid large anti-government rallies in major exporter Iran and ongoing supply cuts led by OPEC and Russia. The S&P energy index rose 1.8 percent.
Shares of casino operators Wynn Resorts and Melco Resorts & Entertainment were down after a report showed lower-than-expected rise in Macau gambling revenue in December.
Abbott Labs jumped 3 percent and hit an intraday record of $59.20 after two brokerages upgraded the company’s stock to “overweight.”
Shares of Allstate were down 2.7 percent on a brokerage downgrade.
Advancing issues outnumbered declining ones on the NYSE by a 1.64-to-1 ratio; on Nasdaq, a 2.01-to-1 ratio favored advancers. (Additional reporting by Sruthi Shankar in Bengaluru; Editing by Sriraj Kalluvila and Nick Zieminski)