At the close, the tech-heavy Nasdaq Composite Index had risen 0.4 percent, while the broad S&P 500 Index was unchanged and the Dow Jones fell by a relatively modest 0.2 percent.
On the winning side, Nvidia, which rose about 3 percent, and Microsoft, up just over 1 percent, were among the notable winners.
Among the factors that helped dampen investors' appetite for war-related risk were higher US oil prices, an appetite for tech stocks and past experience showing that the market has a tendency to shake off geopolitical concerns, writes CNBC.
However, CNBC expert Ross Mayfield warns of the effects if a war involving Israel and the US against Iran drags on.
A two-week shock to oil prices will not have a significant effect on American consumers or on how the Fed (the US central bank) thinks about interest rates, but a multi-month escalation would leave an imprint.





