The S&P 500 has nearly erased its losses from the recent Iran-related selloff, experiencing a robust rally over the past two weeks. Investor sentiment has improved significantly, driving the index higher as geopolitical tensions ease. This recovery highlights the resilience of the market amid global uncertainties.