They’ve been raking in money thanks to the strong stock market, companies’ appetite for debt and initial public offerings.