US stocks rebounded last week as investors near the end of a holiday-shortened period that also rang in a new year.