Wall Street gains as traders await Nvidia results

The S&P 500 notched a record high close overnight ahead of quarterly results from Nvidia