US stock markets rang out 2013's final session Tuesday with new records, capping a year that saw the S&P 500 add more than 30 percent.