NEW YORK (AP) — Most U.S. stocks rose Wednesday following another topsy-turvy day on Wall Street.

The S&P 500 added 0.4%, but only after jumping toward one of its biggest gains since the summer, erasing it all and then climbing back.

The Nasdaq composite climbed 0.7% after earlier pinballing between a drop of 0.4% and a rally of 1.4%. The Dow Jones Industrial Average lagged the market and edged down by 17 points, or less than 0.1%.

The erratic trading followed Tuesday’s roller coaster, where the Dow careened between a loss of 615 points and a jump of 455. The dizzying moves go back to the end of last week, when President Donald Trump shattered what had been a remarkably calm and strong run for Wall Street by threatening much higher tariffs on China.

Technology stocks helped lead the wa

See Full Page