Abstract: This study investigates the ability of Transformer models to predict stock trading signals. The Transformer model, focusing on encoder architectures and multi-head attention mechanisms, was ...