US stock markets closed higher for the fourth day ahead of Thanksgiving, with S&P 500 up 0.7% and Nasdaq 100 up 0.87%.