The S&P 500 and the Nasdaq Composite rose in holiday-thinned trading after a stopgap government funding bill averted a US ...