Stocks crept back from lows to trade just shy of the record levels achieved Thursday. Investors appeared hesitant after disappointing retail sales and producer prices data. Consumer sentiment in August remained elevated, though did not reach the levels analysts expected, according to a preliminary reading from the University of Michigan. Easing uncertainty over the June Brexit decision helped to buoy confidence. Silicon Graphics  (SGI) shot up nearly 30% after Hewlett Packard Enterprise  (HPE - Get Report) announced plans to purchase the enterprise hardware developer. HPE said the deal would help it expand its big-data analysis business. BlackBerry  (BBRY) was upgraded to outperform from market perform at Raymond James. The firm said its software business can drive solid growth. TheStreet's Keris Lahiff reports from Wall Street.