The S&P 500 Index rose 0.38%, and the NASDAQ Composite Index rose 0.63%, both reaching new historical highs