Stocks advance with Dow, S&P 500 reaching all-time highs.

U.S. stocks traded mostly higher on Tuesday, buoyed by a recently announced NAFTA 2.0 trade deal between Canada and the United States.

The large-cap S&P 500 Index (NYSEARCA: SPY) reversed gains to finish flat at 2,923.43. The consumer discretionary component was the biggest drag on growth, falling 1.3%. Healthcare and information technology also ended lower.

Dow industrials (NYSEARCA:DIA) advanced 122.73 points, or 0.5%, to 26,773.94, a new record high.

Meanwhile, the technology-heavy Nasdaq Composite Index (NYSEARCA: QQQ) edged down 0.5% to close at 7,999.55.

A measure of implied volatility known as the CBOE VIX (NYSEARCA: VXX) was little changed on Tuesday after trading within a narrow range for most of the session. The so-called “fear index” edged up 0.5% to 12.06 on a scale of 1-100 where 30 generally reflects the historical average.