US stocks have rallied to close out their dreary February on a brighter note, with the S&P 500 jumping 1.6 per cent to trim its loss for the month.