The S&P 500 and the Nasdaq closed at record high on Tuesday as Apple's consumer products event drew much of investors' attention.
The Dow Jones Industrial Average was up 61.49 points, or 0.28 percent, to 22,118.86. The S&P 500 added 8.37 points, or 0.34 percent, to 2,496.48. The Nasdaq Composite Index gained 22.02 points, or 0.34 percent, to 6,454.28.
Apple unveil Tuesday the iPhone X, the iPhone 8 and iPhone 8 Plus, a new 4K Apple TV and the Apple Watch Series 3, all in the Steve Jobs Theater on the company's new 175-acre campus.
However, shares of Apple dropped 0.40 percent to close at 160.86 U.S. dollars apiece
On the economic front, the number of job openings was little changed at 6.2 million on the last business day of July, the U.S. Labor Department said Tuesday in a report.
Over the month, hires and separations were also little changed at 5.5 million and 5.3 million, respectively. Within separations, the quits rate and the layoffs and discharges rate were little changed at 2.2 percent and 1.2 percent, respectively, according to the report.
Analysts said the figure suggested employers were having trouble finding applicants with the right skills.
U.S. stocks rallied on Monday, advancing more than one percent as Hurricane Irma's damage appeared to be less than expected. The S&P 500 closed at a record high, while the Dow posted its biggest one-day gain since March.