Translated data: A study tested the performance of ChatGPT and GPT-4 in a simulated CFA financial analyst exam. The results showed that although GPT-4 outperformed ChatGPT, it still faced challenges in high-level exams. Specialized training and knowledge acquisition may be crucial for improving AI performance in the financial field.