S&P 500, Nasdaq at record as vaccine hope eclipses poor data