The tech-heavy Nasdaq Composite (^IXIC) slipped 0.8% to snap a 4-day rally. The S&P 500 (^GSPC) retreated from a record to close down nearly 0.2%. The Dow Jones Industrial Average (^DJI) climbed 0.5% to post a new all-time high after Tuesday's record close. Stocks rotated as investors assessed earnings and cheered diplomatic efforts for another peace deal between the US and Iran — no matter how fragile. Oil prices were steady after Trump hinted that the US was nearing a deal with Iran.