Stock market live Friday: Stocks end Friday mixed, major averages post weekly gain, Tesla gets 2 upgrades

This is CNBC's markets live blog that will be updated throughout the day. 

U.S. equities were mixed on Friday as the S&P 500 continued to hover below its record high from February. Electric car company Tesla continued to climb after two Wall Street firms upgraded the stock. The Commerce Department said retail sales rose for the third consecutive month, though the increase was smaller-than-expected when accounting for automobiles.