the US government has approved funding so they don't have to shut down. if there was a shutdown, credit rating agencies we're going to devalue the United States credit worthiness. that means that the value of everything in the United States would go down including stocks and equities. but now, Moody's doesn't have to downgrade the u s meaning that it's safer to invest in the stock market now.