Sell-side traders rode a wave of activity as markets plunged at the start of pandemic-spurred lockdowns before embarking on dramatic rebounds. Trading gains since the start of the pandemic have helped offset weakness in consumer businesses at the nation’s biggest banks, where loan-loss provisions piled up in the first half of the year.