How did markets perform in Q3 2023?