Banks and the stock market also helped support economic growth.