US stocks: S&P 500 ends nearly flat as US-Iran talks help stocks pare losses

· Economic Times