Q3 stock market performance