A surge on Wall Street stock-trading desks is being driven by manic investor moves in derivatives, as fund managers scramble to protect their gains from future volatility.

Following a leap in stock market gyrations so far this year, the biggest U.S. banks generated more revenue from stock trading than in any first quarter since the financial crisis, according to a Wall Street Journal analysis of bank regulatory filings.

It’s...