Goldman Sachs beat third-quarter profit estimates on strong equities trading, while JPMorgan shares fell as dealmaking slowed in late September.