The gains weren't limited to stocks, though, with gold futures closing above the $3,000 per ounce mark for the first time.