Stocks added to gains after Sen. John McCain voiced his support for the legislation, making its passage more likely. The Senate should deliver a vote on the legislation in next two days.

The Dow Jones Industrial Average traded above 24,000 for the first time ever on Thursday and was on track for a closing record after setting a new all-time high a day earlier. The S&P 500 and Dow were on track to close out November with their eighth straight month of gains and their tenth of the year.

Technology names rebounded following the Nasdaq's worst day in three months. Facebook Inc. (FB) , Netflix Inc. (NFLX) , Apple Inc. (AAPL) , Microsoft Corp. (MSFT)  were higher on Thursday. 

Crude oil fluctuated on Thursday even after reports Organization of Petroleum Exporting Countries and other oil-producing nations had extended production cuts through to the end of 2018.

Watch More with TheStreet:

Don't miss the best videos of the week. Put Wall Street on Rewind and sign up for our weekly newsletter.

More from Video

Market of the Week: E-mini S&P 500

Market of the Week: E-mini S&P 500

China's Landmark Day Headlines An Earnings Bonanza: What to Watch This Week

China's Landmark Day Headlines An Earnings Bonanza: What to Watch This Week

Tinley CEO Jeff Maser Breaks Down the Beverage Industry

Tinley CEO Jeff Maser Breaks Down the Beverage Industry

Should Yahoo Finance Be Afraid of the Big, Bad Apple? Jim Cramer Says Yes

Should Yahoo Finance Be Afraid of the Big, Bad Apple? Jim Cramer Says Yes

Jim Cramer Reveals Which Earnings Report All Investors Should Watch

Jim Cramer Reveals Which Earnings Report All Investors Should Watch