US stocks finished moderately higher on Wednesday with the S&P 500 and Nasdaq inching back towards...