The U.S. stock market continues to rise despite the government's latest shutdown. The S&P 500 and Dow Jones Industrial Average hit all-time highs on Friday.

The big question moving forward is, how long will the shutdown last?

Major U.S. stock indexes closed in the green on Wednesday on hopes that the funding stoppage would be brief and limit any serious effects on the economy.