The Dow Jones Industrial Average and S&P 500 ended the week with a bang, closing at session highs and securing new records.

The Dow was up 0.40% on Friday, July 14, setting a new record close of 21,639, its third in a row. The S&P 500 added 0.47% to end at 2,459, superseding the record set on June 19. The Nasdaq rose 0.61%. 

Analyst upgrades to Boeing Co. (BA - Get Report) Walmart Stores Inc. (WMT - Get Report)  lifted the Dow and inspired broad market gains. Boeing moved higher after the aircraft manufacturer was upgraded to overweight from neutral by analysts at JPMorgan. Its price target was also raised to $240 from $205. The firm is bullish on the entire aircraft making industry thanks in part to efforts by Boeing to shape the sector. The firm sees Boeing's efforts potentially leading to stronger performances among its peers.

Walmart rose on Friday after Goldman Sachs upgraded its rating to buy and added the stock to its Conviction List. Analysts set a price target of $84. Analysts are positive the retailer can deal with increased e-commerce demand.

The second-quarter earnings season got off to a poor start on Friday with a number disappointments from notable leaders in the banking sector.

J.P. Morgan Chase & Co. (JPM - Get Report) reported stronger-than-expected profit and revenue in the second quarter as lending activity increased. Profit rose to $1.82 a share, up from $1.55 a share a year earlier and above consensus of $1.59. Revenue of $26.41 billion exceeded forecasts of $24.96 billion. 

Citigroup Inc. (C - Get Report)   exceeded profit and revenue estimates over its recent quarter. Net income of $1.28 a share was 4 cents higher than a year earlier and topped estimates by 7 cents. Revenue of $17.9 billion came in higher than an estimate of $17.4 billion. Trading and fixed income revenue each declined by 6%, while equity trading increased 11%. 

Wells Fargo & Co. (WFC - Get Report)   reported a rise in net income during its second quarter. Profit rose 6% on a per-share basis, coming in at $1.07 a share. Analysts expected $1.01 a share. Revenue was unchanged at $22.2 billion, slightly weaker than estimates. 

Citigroup and Wells Fargo are holdings in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells C and WFC? Learn more now.

Shares of JPMorgan, Wells Fargo, Bank of America Corp. (BAC - Get Report) , HSBC Holdings PLC  (HSBC) , Goldman Sachs Group Inc. (GS - Get Report) and Citigroup were all lower. The Financial Select Sector SPDR ETF (XLF - Get Report) declined by 0.58%. 

Overall, analysts anticipate another quarter of above-average strength. CFRA Research said it anticipates 6.2% year-over-year earnings growth among S&P 500 companies, better than a 1.7% earnings decline seen in the same quarter a year earlier. The energy sector is expected to lead the pack, recovering from weakness over the previous two years.

There are three reasons why this market is overvalued, Christopher Versace wrote over on our premium site for investors, Real Money. Get his insights with a free trial subscription.

U.S. inflation numbers continued to come in weak. The consumer price index was flat in June, disappointing analysts looking for a 0.1% increase. Core consumer prices, excluding food and energy, increased by 0.1% last month. Consumer prices over the past 12 months dipped to growth of 1.6%, down from 1.9%, while core inflation held at 1.7%. 

Consumer spending trends remained soft in June. U.S. retail sales dropped by 0.2% last month. Excluding autos and gas, retail sales dipped 0.1%. 

Industrial production in the U.S. rose at a faster-than-expected pace. Production rose by 0.4% in June, 10 basis points higher than expected. Activity accelerated after a flat reading in May. Capacity utilization held at 76.6%. 

Business inventories rose in May, in-line with analysts' estimates. Inventories increased by 0.3% to $1,859.7 billion, reversing a 0.2% drop in April. Sales dipped 0.2%. 

Consumer sentiment unexpectedly weakened in July, according to a preliminary reading from the University of Michigan. The consumer sentiment index dropped to 93.1 from 95.1 in June. Analysts anticipated a flat reading. A drop in consumer expectations was responsible for the decline. 

Crude oil prices held higher after weekly drilling activity data Friday afternoon. The number of active drilling rigs in the U.S. was unchanged at 952, while the count of active oil rigs rose by two to 765, according to Baker Hughes. The number of active oil rigs has more than doubled from the same time a year earlier. 

West Texas Intermediate crude added 0.9% to $46.51 a barrel. 

Sprint Corp. (S - Get Report) increased 4% on reports the company is courting an investment. Billionaire investor Warren Buffett and media mogul John Malone reportedly met with Sprint Chairman Masayoshi Son to discuss an investment in the telecom, according to The Wall Street Journal.

Healthcare stocks rose on Friday, seemingly unperturbed by the Senate GOP's struggle to whip up support for its repeal-and-replace bill. The latest revision to the healthcare bill has not garnered much support -- two Republicans (Sens. Susan Collins and Rand Paul) already have said they will not vote "yes" and there are a number of reportedly undecided Republicans. 

The Healthcare Select Sector SPDR ETF (XLV - Get Report) increased 0.67% on Friday.

Tech stocks were rising alongside broader markets. Netflix Inc. (NFLX - Get Report) , Alphabet Inc. (GOOGL - Get Report) , Microsoft Corp. (MSFT - Get Report) , Facebook Inc. (FB - Get Report)  and Alibaba Group Holding Ltd (BABA - Get Report) were each higher. The Technology Select Sector SPDR ETF (XLK - Get Report) increased 0.89%.

Alphabet and Facebook are holdings in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells GOOGL or FB? Learn more now.

Eat, Drink and Talk Money with Jim Cramer

Meet Jim Cramer at an exclusive reception at his Bar San Miguel in Brooklyn, N.Y., on Tuesday, July 25, from 6:30 p.m. To 9 p.m.

The evening will start with a screening of Jim's CNBC show Mad Money. Afterwards, Jim will join the party fresh off of the CNBC set to mingle, take photos and answer your investing questions.

Tickets include dinner, drinks and an autographed copy of Jim's book Get Rich Carefully.

Click here for more information or to buy tickets.

Where: Bar San Miguel, 307 Smith St., Brooklyn, N.Y.

When: Tuesday, July 25, 6:30 p.m. to 9 p.m.

More of What's Trending on TheStreet: