The S & P 500 posted its greatest week since November, sparked by the US and Iran agreeing to a brief ceasefire. President Donald Trump introduced a two-week pause in assaults on Iran late Tuesday, which despatched equities hovering. The S & P 500 surged 2.5% on Wednesday, whereas the Nasdaq jumped 2.8%. The Dow had its greatest day since April 2025. “We now have a barn burner, and it’s, I might say, fairly widespread,” Jim Cramer mentioned of Wednesday’s market motion. That session reminded us how essential diversification is. If the Membership had exited shares that had been hit by the abroad struggle, resembling vitality shares, we might’ve missed out on the rally in economically delicate names. Jim pointed to House Depot , which jumped 5.5% Wednesday and gained 4.8% week thus far. Though the market rally cooled on Friday, the S & P 500 nonetheless ended the week up 3.6% greater. The Dow and Nasdaq gained greater than 3% and 4.7%, respectively. All three benchmarks posted their greatest weeks since November. The easing of tensions within the Center East wasn’t the one factor driving shares; listed here are three extra components that influenced the market. Inflation Wall Avenue obtained its first up to date learn on inflation for the reason that struggle in Iran broke out on Feb. 28. Traders have frightened about rising oil costs rippling via the U.S. economic system. The buyer worth index elevated by a seasonally adjusted 0.9% in March, pushing the annual inflation fee to three.3%, each in keeping with analysts’ estimates. The achieve was pushed by a ten.9% surge in vitality prices. Nevertheless, core costs, which exclude vitality and meals, got here in higher than feared, signaling that underlying inflation was held in test. The market just isn’t within the clear but, given the delicate state of the ceasefire. One wildcard for shares: the peace talks scheduled this weekend between the U.S. and Iran in Pakistan. “I do not assume it is being factored in sufficient,” he mentioned throughout Friday’s Morning Assembly . Software program sell-off The buy-hardware, sell-software commerce got here again in full power this week. Traders flocked to corporations underpinning the information heart and AI infrastructure buildout, whereas working from these they understand as threatened by it. “When you’re within the software program camp, you are being handled as for those who’re prepared for the embalmer,” Jim mentioned throughout “Mad Cash” on Thursday. “In case you are within the {hardware} and AI camp, you are headed for the pantheon of greatness.” Shares which were “killing it” are semiconductor gamers, Jim mentioned, pointing to Marvell Expertise and Intel , which ended the week 20% and 23% greater, respectively. Corning, which makes optical fibers for AI information facilities, gained 15.7%. On the opposite aspect of the commerce was software program. Salesforce fell for its fifth straight session on Friday, tumbling almost 12% for the week. It was additionally the Membership’s worst weekly performer. Adobe shed 7.2%. IGV software program ETF , the benchmark software program index, fell roughly 7%. Jim mentioned its efficiency is a crucial gauge of Wall Avenue sentiment as a result of “this ETF is the first method that huge establishments wager on or wager in opposition to software program.” Cyber and different non-traditional software program names within the fund are collateral harm. CrowdStrike and Palo Alto Networks fell 5% and 4.5%, respectively, week thus far. Meta ramps up AI efforts Extra excellent news for the portfolio. Meta unveiled a brand new AI mannequin on Wednesday, sending the inventory on a tear. It is referred to as Muse Spark and is the primary from the corporate’s new Muse collection, developed by Meta Superintelligence Labs. Though Meta has leveraged AI to learn its promoting enterprise, it has lagged in constructing its personal standard AI mannequin. Llama’s debut wasn’t well-received. Now, the corporate is transferring right into a market dominated by Google Gemini, Anthropic’s Claude, and OpenAI’s ChatGPT. If Meta succeeds, Wall Avenue will really feel extra assured about its aggressive AI spending plans. Administration beforehand forecast capital expenditures between $115 billion and $135 billion for fiscal yr 2026, up from almost $70 billion final yr. Meta shares jumped 9.6% final week, buoyed partly by the broader market rally. (See right here for a full record of the shares in Jim Cramer’s Charitable Belief.) As a subscriber to the CNBC Investing Membership with Jim Cramer, you’ll obtain a commerce alert earlier than Jim makes a commerce. Jim waits 45 minutes after sending a commerce alert earlier than shopping for or promoting a inventory in his charitable belief’s portfolio. If Jim has talked a couple of inventory on CNBC TV, he waits 72 hours after issuing the commerce alert earlier than executing the commerce. THE ABOVE INVESTING CLUB INFORMATION IS SUBJECT TO OUR TERMS AND CONDITIONS AND PRIVACY POLICY , TOGETHER WITH OUR DISCLAIMER . NO FIDUCIARY OBLIGATION OR DUTY EXISTS, OR IS CREATED, BY VIRTUE OF YOUR RECEIPT OF ANY INFORMATION PROVIDED IN CONNECTION WITH THE INVESTING CLUB. NO SPECIFIC OUTCOME OR PROFIT IS GUARANTEED.

